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.



366
367
368
# File 'lib/discorb/embed.rb', line 366

def name
  @name
end

#url -> String (readonly)

Returns The url of provider.

Returns:

  • (String)

    The url of provider.



368
369
370
# File 'lib/discorb/embed.rb', line 368

def url
  @url
end