Sha256: 81413507333014abe7f88fc2b464032488e81a951fbf0441c4be91701d1d1be8

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

module VimeoRuby
  class User < Base
    class UploadedVideoCollection
      attr_reader :videos

      def initialize(videos_array)
        @videos = videos_array.map do |video_data|
          Video.new(attrs: video_data)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vimeo_ruby-0.3.0 lib/vimeo_ruby/user/uploaded_video_collection.rb