Class: ConnectorKit::AppListResponseMapper

Inherits:
Object
  • Object
show all
Defined in:
lib/connector_kit/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/connector_kit/mappers/app_list_response_mapper.rb', line 6

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