--- http_interactions: - request: method: get uri: https://token-demo.adcrws.com/v1/oauth_applications?member_key=guest&per_page=1 body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Max-Age: - '1728000' Access-Control-Request-Method: - GET Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - Sat, 01 Aug 2015 03:53:59 GMT Etag: - '"f6696b8f4112edcc7bacb4359fb29c66"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 150a6278-d1bf-4034-a086-25d9db00b456 X-Runtime: - '0.043797' X-Xss-Protection: - 1; mode=block Content-Length: - '778' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { "total_results": 701, "results_per_page": 1, "current_page": 1, "total_pages": 701 }, "oauth_applications": [ { "id": 22, "name": "American Grandparents Association", "owner_id": 235308134, "owner_type": "Program", "domain_urls": null, "scopes": [ "api", "docs" ], "active_tokens": [ "e4db3fb9a054e78807c431e837c49a59553c73204de91d404fe43d12c247f805" ], "filter": { "filter_id": 18, "filter_name": "Grandparents" }, "links": { "show_application": "https://token-demo.adcrws.com/v1/oauth_applications/22" } } ], "links": { "next_page": "https://report-demo.adcrws.com/v1/oauth_applications?page=2" } } http_version: recorded_at: Sat, 01 Aug 2015 03:53:59 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/locations body: encoding: UTF-8 string: member_key=guest&per_page=1 headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 400 message: Bad Request headers: Content-Type: - application/json Date: - Thu, 06 Aug 2015 17:30:00 GMT Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Request-Id: - 2f7b5e02-a328-4a66-98f7-caa7d01cf93a X-Runtime: - '0.000309' Content-Length: - '133' Connection: - keep-alive body: encoding: UTF-8 string: '{"status":400,"message":"There was a problem in the JSON you submitted: 795: unexpected token at ''member_key=guest\u0026per_page=1''"}' http_version: recorded_at: Thu, 06 Aug 2015 17:30:00 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/locations?member_key=guest&per_page=1 body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Max-Age: - '1728000' Access-Control-Request-Method: - GET Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - Thu, 06 Aug 2015 17:51:01 GMT Etag: - '"77168502114dd12f33b7091d3e75fcf5"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 96e5baa2-6541-4de5-9291-14103d6f25bd X-Runtime: - '0.029239' X-Xss-Protection: - 1; mode=block Content-Length: - '1854' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { "total_results": 204900, "current_page": 1, "total_pages": 204900, "results_per_page": 1 }, "locations": [ { "search_relevance": 1.0, "physical_location": { "location_name": "Food Fast", "web_address": "http://cefcostores.com", "description": null, "location_key": 5230448, "phone_number": "903-586-5303", "postal_code": "75766", "country": "US", "street_address": "319 E Larissa St", "extended_street_address": "", "city_locality": "Jacksonville", "state_region": "TX", "geolocation_array": [ -95.27013, 31.96207 ], "geolocation": { "lat": 31.96207, "lon": -95.27013 } }, "location_store": { "name": "Food Fast", "description": "", "store_key": 152815598 }, "location_categories": [ { "category_name": "Convenience Stores", "category_key": 1012, "category_parent_key": 39, "category_parent_name": "Dining & Food", "category_type": "subcategory" } ], "national": false, "logo_url": "https://static-demo.accessdevelopment.com/brand/3193995e29c9aae6bd4d8eb272b8b25db6c08267/original.png", "location_photos": [ ], "active_offer_count": 1, "offer_groups": [ 4099134 ], "links": { "show_location": "https://offer-demo.adcrws.com/v1/locations/5230448", "show_store": "https://offer-demo.adcrws.com/v1/stores/152815598", "find_offers_at_this_location": "https://offer-demo.adcrws.com/v1/offers?location_key=5230448" } } ], "links": { "next_page": "https://offer-demo.adcrws.com/v1/locations?member_key=guest&page=2&per_page=1" } } http_version: recorded_at: Thu, 06 Aug 2015 17:51:01 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/locations?member_key=API_RUBY_GEM_TEST&per_page=1 body: encoding: US-ASCII string: '' headers: Access-Token: - token_without_limit Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Max-Age: - '1728000' Access-Control-Request-Method: - GET Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json Date: - Wed, 12 Aug 2015 17:46:43 GMT Etag: - '"0ee165cb67dfd9d89b2c2b8934dfd449"' Server: - nginx/1.6.2 Strict-Transport-Security: - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Request-Id: - 1838a35a-8353-4faa-b52a-b0f4490af124 X-Runtime: - '0.029199' X-Xss-Protection: - 1; mode=block Content-Length: - '1866' Connection: - keep-alive body: encoding: UTF-8 string: |- { "info": { "total_results": 204899, "current_page": 1, "total_pages": 204899, "results_per_page": 1 }, "locations": [ { "search_relevance": 1.0, "physical_location": { "location_name": "Food Fast", "web_address": "http://cefcostores.com", "description": null, "location_key": 5230448, "phone_number": "903-586-5303", "postal_code": "75766", "country": "US", "street_address": "319 E Larissa St", "extended_street_address": "", "city_locality": "Jacksonville", "state_region": "TX", "geolocation_array": [ -95.27013, 31.96207 ], "geolocation": { "lat": 31.96207, "lon": -95.27013 } }, "location_store": { "name": "Food Fast", "description": "", "store_key": 152815598 }, "location_categories": [ { "category_name": "Convenience Stores", "category_key": 1012, "category_parent_key": 39, "category_parent_name": "Dining & Food", "category_type": "subcategory" } ], "national": false, "logo_url": "https://static-demo.accessdevelopment.com/brand/3193995e29c9aae6bd4d8eb272b8b25db6c08267/original.png", "location_photos": [ ], "active_offer_count": 1, "offer_groups": [ 4099134 ], "links": { "show_location": "https://offer-demo.adcrws.com/v1/locations/5230448", "show_store": "https://offer-demo.adcrws.com/v1/stores/152815598", "find_offers_at_this_location": "https://offer-demo.adcrws.com/v1/offers?location_key=5230448" } } ], "links": { "next_page": "https://offer-demo.adcrws.com/v1/locations?member_key=API_RUBY_GEM_TEST&page=2&per_page=1" } } http_version: recorded_at: Wed, 12 Aug 2015 17:46:43 GMT recorded_with: VCR 2.9.3