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

#height -> Integer (readonly)

Returns The height of video.

Returns:

  • (Integer)

    The height of video.



359
360
361
# File 'lib/discorb/embed.rb', line 359

def height
  @height
end

#proxy_url -> String (readonly)

Returns The proxy url of video.

Returns:

  • (String)

    The proxy url of video.



357
358
359
# File 'lib/discorb/embed.rb', line 357

def proxy_url
  @proxy_url
end

#url -> String (readonly)

Returns The url of video.

Returns:

  • (String)

    The url of video.



355
356
357
# File 'lib/discorb/embed.rb', line 355

def url
  @url
end

#width -> Integer (readonly)

Returns The width of video.

Returns:

  • (Integer)

    The width of video.



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

def width
  @width
end