class Access::StoreResponse

Public Instance Methods

process_data() click to toggle source
# File lib/access/response.rb, line 83
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