Sha256: 4ef65a3bc47b6c871f68c342a7d14b7715353815a7ddf30e81903166c3db2205

Contents?: true

Size: 266 Bytes

Versions: 3

Compression:

Stored size: 266 Bytes

Contents

require 'ostruct'
require_relative 'resource_list'

module Uploadcare
  class Api
    class FileList < ResourceList
      private

      def to_resource(api, file_data)
        Uploadcare::Api::File.new(api, file_data['uuid'], file_data)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uploadcare-ruby-2.1.2 lib/uploadcare/resources/file_list.rb
uploadcare-ruby-2.1.1 lib/uploadcare/resources/file_list.rb
uploadcare-ruby-2.0.0 lib/uploadcare/resources/file_list.rb