Skip to content

Commit

Permalink
Merge pull request #8 from pexels/video-file-fps
Browse files Browse the repository at this point in the history
Add fps to Pexels::Video::File
  • Loading branch information
davebream authored Sep 19, 2022
2 parents e71d4b2 + 1b8bd91 commit 8002859
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pexels/video/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Pexels::Video::File
:file_type,
:width,
:height,
:fps,
:link

def initialize(attrs)
Expand All @@ -12,6 +13,7 @@ def initialize(attrs)
@file_type = attrs.fetch('file_type')
@width = attrs.fetch('width')
@height = attrs.fetch('height')
@fps = attrs.fetch('fps')
@link = attrs.fetch('link')
end
end

0 comments on commit 8002859

Please sign in to comment.