Class: Discordrb::EmbedProvider
- Inherits:
-
Object
- Object
- Discordrb::EmbedProvider
- Defined in:
- lib/discordrb/data/embed.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, or
nilif there is no URL.
Instance Attribute Details
#embed ⇒ Embed (readonly)
Returns the embed object this is based on.
238 239 240 |
# File 'lib/discordrb/data/embed.rb', line 238 def @embed end |
#name ⇒ String (readonly)
Returns the provider's name.
241 242 243 |
# File 'lib/discordrb/data/embed.rb', line 241 def name @name end |
#url ⇒ String? (readonly)
Returns the URL of the provider, or nil if there is no URL.
244 245 246 |
# File 'lib/discordrb/data/embed.rb', line 244 def url @url end |