Sha256: cfdff9e604195b3c9a86c6abb837ea60203a5fd146204b445ba9d592841cd630

Contents?: true

Size: 218 Bytes

Versions: 8

Compression:

Stored size: 218 Bytes

Contents

require 'connector_kit/models/app'

module ConnectorKit
  # Mapper between a HTTParty response and a list of Apps
  class AppListResponseMapper
    def map(data)
      data.map { |app| App.new(app) }
    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/app_list_response_mapper.rb
appstore_kit_fork-0.0.4 lib/connector_kit/mappers/app_list_response_mapper.rb
appstore_kit_fork-0.0.3 lib/connector_kit/mappers/app_list_response_mapper.rb
appstore_kit_fork-0.0.2 lib/connector_kit/mappers/app_list_response_mapper.rb
appstore_kit_fork-0.0.1 lib/connector_kit/mappers/app_list_response_mapper.rb
connector_kit_fork-0.3.2 lib/connector_kit/mappers/app_list_response_mapper.rb
connector_kit_fork-0.3.1 lib/connector_kit/mappers/app_list_response_mapper.rb
connector_kit-0.3.0 lib/connector_kit/mappers/app_list_response_mapper.rb