Sha256: e5eb213607a0b103a31fa71fbbdd46254c87a58634c9452ea397768cfc2a9c43

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

module VimeoRuby
  class User < VimeoRuby::Base
    class UploadedVideoCollection
      attr_reader :videos

      def initialize(videos_array)
        @videos = videos_array.map do |video_data|
          VimeoRuby::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.2.0 lib/vimeo_ruby/user/uploaded_video_collection.rb