Class: Discorb::Embed::Video
- Inherits:
-
Entry
- Object
- Entry
- Discorb::Embed::Video
- Defined in:
- lib/discorb/embed.rb
Overview
Represents a video of embed.
Instance Attribute Summary collapse
-
#height -> Integer
readonly
The height of video.
-
#proxy_url -> String
readonly
The proxy url of video.
-
#url -> String
readonly
The url of video.
-
#width -> Integer
readonly
The width of video.
Instance Attribute Details
#height -> Integer (readonly)
Returns The height of video.
343 344 345 |
# File 'lib/discorb/embed.rb', line 343 def height @height end |
#proxy_url -> String (readonly)
Returns The proxy url of video.
341 342 343 |
# File 'lib/discorb/embed.rb', line 341 def proxy_url @proxy_url end |
#url -> String (readonly)
Returns The url of video.
339 340 341 |
# File 'lib/discorb/embed.rb', line 339 def url @url end |
#width -> Integer (readonly)
Returns The width of video.
345 346 347 |
# File 'lib/discorb/embed.rb', line 345 def width @width end |