Class: Access::VerifyResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/access/response.rb

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

#process_dataObject



135
136
137
138
139
140
141
# File 'lib/access/response.rb', line 135

def process_data
  @oauth_access_token = Access::Verify.new(@oauth_access_token) if @oauth_access_token
  @offers = Access::Verify.new(@offers) if @offers
  @categories = Access::Verify.new(@categories) if @categories
  @locations = Access::Verify.new(@locations) if @locations
  @stores = Access::Verify.new(@stores) if @stores
end