Class: AppstoreKitFork::AppListResponseMapper

Inherits:
Object
  • Object
show all
Defined in:
lib/appstore_kit_fork/mappers/app_list_response_mapper.rb

Overview

Mapper between a HTTParty response and a list of Apps

Instance Method Summary collapse

Instance Method Details

#map(data) ⇒ Object



6
7
8
# File 'lib/appstore_kit_fork/mappers/app_list_response_mapper.rb', line 6

def map(data)
  data.map { |app| App.new(app) }
end