class Pexels::Video::File

Attributes

file_type[R]
height[R]
id[R]
quality[R]
width[R]

Public Class Methods

new(attrs) click to toggle source
# File lib/pexels/video/file.rb, line 9
def initialize(attrs)
  @id = attrs.fetch('id')
  @quality = attrs.fetch('quality')
  @file_type = attrs.fetch('file_type')
  @width = attrs.fetch('width')
  @height = attrs.fetch('height')
  @link = attrs.fetch('link')
end