Sha256: 329c44089b9eaaf0f2345136b25939dd427090591c141473287720a513ceaa61

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

require 'appstore_kit_fork/models/user'

module AppstoreKitFork
  # Mapper between a HTTParty response and a list of Users
  class UserListResponseMapper
    def map(data)
      data.map { |user| User.new(user) }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appstore_kit_fork-0.0.6 lib/appstore_kit_fork/mappers/user_list_response_mapper.rb