Class: Access::AmtResponse
Instance Attribute Summary
Attributes inherited from Response
#access_tokens, #aggregations, #api_calls_over_time, #campaign_description, #campaign_name, #campaign_ranking, #campaigns, #categories, #channel_description, #channel_identifier, #channel_list, #channel_name, #channel_type, #channels, #content_type, #custom_aggregation, #data, #details, #dev_node, #devices, #end_date, #error, #favorites, #filters, #hotels, #info, #internal_details, #key, #links, #locations, #member_usage, #members, #message, #oauth_access_token, #oauth_applications, #oauth_token, #oauth_tokens, #offer_count_by_facet, #offer_count_by_redemption_method, #offer_count_in_categories, #offer_redemptions, #offer_resource, #offers, #product_groups, #products, #programs, #redemption_method, #reports, #response, #response_status, #spot_image_url, #spot_list, #spot_name, #spot_ranking, #spot_redirect_type, #spot_redirect_url, #spot_text, #spots, #start_date, #status, #stores, #success, #suggestions, #total_cart_count, #users, #verify
Instance Method Summary collapse
Methods inherited from Response
#check_success, #create_error, #initialize
Constructor Details
This class inherits a constructor from Access::Response
Instance Method Details
#all_valid? ⇒ Boolean
246 247 248 |
# File 'lib/access/response.rb', line 246 def all_valid? @data.all?{|import| import.invalid_members_count.zero? } end |
#process_data ⇒ Object
242 243 244 |
# File 'lib/access/response.rb', line 242 def process_data @data = Access::Amt.process_batch(@data) if @data end |