class Discorb::Embed::Video

Represents a video of embed.

Attributes

height[R]

@return [Integer] The height of video.

proxy_url[R]

@return [String] The proxy url of video.

url[R]

@return [String] The url of video.

width[R]

@return [Integer] The width of video.

Public Class Methods

new(data) click to toggle source

@!visibility private

# File lib/discorb/embed.rb, line 321
def initialize(data)
  @url = data[:url]
  @proxy_url = data[:proxy_url]
  @height = data[:height]
  @width = data[:width]
end