Class: Discordrb::EmbedProvider
- Inherits:
-
Object
- Object
- Discordrb::EmbedProvider
- Defined in:
- lib/discordrb/data.rb
Overview
An Embed provider for the embed object
Instance Attribute Summary collapse
-
#embed ⇒ Embed
readonly
The embed object this is based on.
-
#name ⇒ String
readonly
The provider's name.
-
#url ⇒ String?
readonly
The URL of the provider.
Instance Attribute Details
#embed ⇒ Embed (readonly)
Returns the embed object this is based on.
1606 1607 1608 |
# File 'lib/discordrb/data.rb', line 1606 def @embed end |
#name ⇒ String (readonly)
Returns the provider's name.
1609 1610 1611 |
# File 'lib/discordrb/data.rb', line 1609 def name @name end |
#url ⇒ String? (readonly)
Returns the URL of the provider. nil
is there is no URL.
1612 1613 1614 |
# File 'lib/discordrb/data.rb', line 1612 def url @url end |