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.



381
382
383
# File 'lib/discorb/embed.rb', line 381

def name
  @name
end

#url -> String (readonly)

Returns The url of provider.

Returns:

  • (String)

    The url of provider.



383
384
385
# File 'lib/discorb/embed.rb', line 383

def url
  @url
end