Class: Discorb::Embed::Provider

Inherits:
Entry
  • Object
show all
Defined in:
lib/discorb/embed.rb

Overview

Represents a provider of embed.

Instance Attribute Summary collapse

Instance Attribute Details

#name -> String (readonly)

Returns The name of provider.

Returns:

  • (String)

    The name of provider.



388
389
390
# File 'lib/discorb/embed.rb', line 388

def name
  @name
end

#url -> String (readonly)

Returns The url of provider.

Returns:

  • (String)

    The url of provider.



390
391
392
# File 'lib/discorb/embed.rb', line 390

def url
  @url
end