Sha256: 65c4663f98602100736ca0850e97f88b6780ef184a62a576cccf83448f1083da

Contents?: true

Size: 224 Bytes

Versions: 8

Compression:

Stored size: 224 Bytes

Contents

require 'connector_kit/models/user'

module ConnectorKit
  # 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

8 entries across 8 versions & 3 rubygems

Version Path
appstore_kit_fork-0.0.5 lib/connector_kit/mappers/user_list_response_mapper.rb
appstore_kit_fork-0.0.4 lib/connector_kit/mappers/user_list_response_mapper.rb
appstore_kit_fork-0.0.3 lib/connector_kit/mappers/user_list_response_mapper.rb
appstore_kit_fork-0.0.2 lib/connector_kit/mappers/user_list_response_mapper.rb
appstore_kit_fork-0.0.1 lib/connector_kit/mappers/user_list_response_mapper.rb
connector_kit_fork-0.3.2 lib/connector_kit/mappers/user_list_response_mapper.rb
connector_kit_fork-0.3.1 lib/connector_kit/mappers/user_list_response_mapper.rb
connector_kit-0.3.0 lib/connector_kit/mappers/user_list_response_mapper.rb