Method: Access::StoreResponse#process_data

Defined in:
lib/access/response.rb

#process_dataObject



63
64
65
66
67
68
# File 'lib/access/response.rb', line 63

def process_data
  (@stores = []; create_error) if @message
  @stores = Access::Store.process_batch(@stores) if @stores
  @offer_count_in_categories = Access::Aggregations.process_batch(@offer_count_in_categories) if @offer_count_in_categories
  @custom_aggregation = Access::Aggregations.process_batch(@custom_aggregation) if @custom_aggregation
end