Class: Discorb::Embed::Video

Inherits:
Entry
  • Object
show all
Defined in:
lib/discorb/embed.rb

Overview

Represents a video of embed.

Instance Attribute Summary collapse

Instance Attribute Details

#heightInteger (readonly)

Returns The height of video.

Returns:

  • (Integer)

    The height of video.



365
366
367
# File 'lib/discorb/embed.rb', line 365

def height
  @height
end

#proxy_urlString (readonly)

Returns The proxy url of video.

Returns:

  • (String)

    The proxy url of video.



363
364
365
# File 'lib/discorb/embed.rb', line 363

def proxy_url
  @proxy_url
end

#urlString (readonly)

Returns The url of video.

Returns:

  • (String)

    The url of video.



361
362
363
# File 'lib/discorb/embed.rb', line 361

def url
  @url
end

#widthInteger (readonly)

Returns The width of video.

Returns:

  • (Integer)

    The width of video.



367
368
369
# File 'lib/discorb/embed.rb', line 367

def width
  @width
end