Class: Discordrb::EmbedVideo
- Inherits:
-
Object
- Object
- Discordrb::EmbedVideo
- Defined in:
- lib/discordrb/data.rb
Overview
An Embed video for the embed object
Instance Attribute Summary collapse
-
#embed ⇒ Embed
readonly
The embed object this is based on.
-
#height ⇒ Integer
readonly
The height of the video, in pixels.
-
#url ⇒ String
readonly
The source URL of the video.
-
#width ⇒ Integer
readonly
The width of the video, in pixels.
Instance Attribute Details
#embed ⇒ Embed (readonly)
Returns the embed object this is based on.
2224 2225 2226 |
# File 'lib/discordrb/data.rb', line 2224 def @embed end |
#height ⇒ Integer (readonly)
Returns the height of the video, in pixels.
2233 2234 2235 |
# File 'lib/discordrb/data.rb', line 2233 def height @height end |
#url ⇒ String (readonly)
Returns the source URL of the video.
2227 2228 2229 |
# File 'lib/discordrb/data.rb', line 2227 def url @url end |
#width ⇒ Integer (readonly)
Returns the width of the video, in pixels.
2230 2231 2232 |
# File 'lib/discordrb/data.rb', line 2230 def width @width end |