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, or
nil
if there is no URL.
Instance Attribute Details
#embed ⇒ Embed (readonly)
Returns the embed object this is based on.
2255 2256 2257 |
# File 'lib/discordrb/data.rb', line 2255 def end |
#name ⇒ String (readonly)
Returns the provider's name.
2258 2259 2260 |
# File 'lib/discordrb/data.rb', line 2258 def name @name end |
#url ⇒ String? (readonly)
Returns the URL of the provider, or nil
if there is no URL.
2261 2262 2263 |
# File 'lib/discordrb/data.rb', line 2261 def url @url end |