--- http_interactions: - request: method: get uri: https://offer-demo.adcrws.com/v1/offers/14742589/uses-remaining?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Server: - nginx/1.8.0 Date: - Tue, 03 Nov 2015 22:48:35 GMT Content-Type: - application/json Transfer-Encoding: - chunked Connection: - keep-alive X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Request-Method: - GET Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Max-Age: - '1728000' Etag: - '"3b83a22c2709ca270cea6d0270e50959"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 251d1f85-4769-4e39-a72c-d87ef0316aaa X-Runtime: - '0.025652' body: encoding: UTF-8 string: |- { "message": "No redemptions found.", "status": 200 } http_version: recorded_at: Tue, 03 Nov 2015 22:48:36 GMT - request: method: get uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json;charset=UTF-8 Date: - Tue, 03 Nov 2015 22:59:41 GMT Etag: - '"0768ac770eecee2b5623281250b459063"' Server: - nginx/1.8.0 Content-Length: - '204' Connection: - keep-alive body: encoding: UTF-8 string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/1d4e7ed912ad9f19fefa2f0e51da06990379a398/original.html"},"links":[]}' http_version: recorded_at: Tue, 03 Nov 2015 22:59:42 GMT - request: method: get uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json;charset=UTF-8 Date: - Tue, 03 Nov 2015 22:59:44 GMT Etag: - '"030e33510f4e8419ff454b3f1df4e3b70"' Server: - nginx/1.8.0 Content-Length: - '204' Connection: - keep-alive body: encoding: UTF-8 string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/265502d2b8b950cb76db4a86e0af71dd98fddb7a/original.html"},"links":[]}' http_version: recorded_at: Tue, 03 Nov 2015 22:59:45 GMT - request: method: get uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json;charset=UTF-8 Date: - Tue, 03 Nov 2015 22:59:45 GMT Etag: - '"016a7d152e0197298a4c35b133ef014f6"' Server: - nginx/1.8.0 Content-Length: - '204' Connection: - keep-alive body: encoding: UTF-8 string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/271c6d5ab6d5c3b5f771e8556ddba65c37fc11cf/original.html"},"links":[]}' http_version: recorded_at: Tue, 03 Nov 2015 22:59:46 GMT - request: method: get uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json;charset=UTF-8 Date: - Tue, 03 Nov 2015 22:59:45 GMT Etag: - '"016a7d152e0197298a4c35b133ef014f6"' Server: - nginx/1.8.0 Content-Length: - '204' Connection: - keep-alive body: encoding: UTF-8 string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/271c6d5ab6d5c3b5f771e8556ddba65c37fc11cf/original.html"},"links":[]}' http_version: recorded_at: Tue, 03 Nov 2015 22:59:46 GMT - request: method: get uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Content-Type: - application/json;charset=UTF-8 Date: - Tue, 03 Nov 2015 22:59:46 GMT Etag: - '"0d3ca3f8ad27943f740af0b2ae50e4ec4"' Server: - nginx/1.8.0 Content-Length: - '204' Connection: - keep-alive body: encoding: UTF-8 string: '{"redemption_method":"instore_print","content_type":"text/html","details":{"link":"http://static-demo.accessdevelopment.com/temp/coupon/7ece4b5a91417a5458e398401b14e4e1a0be6d79/original.html"},"links":[]}' http_version: recorded_at: Tue, 03 Nov 2015 22:59:47 GMT - request: method: get uri: https://offer-demo.adcrws.com/v1/offers/7365285/uses-remaining?member_key=API_RUBY_GEM_TEST body: encoding: US-ASCII string: '' headers: Access-Token: - ACCESS_TOKEN Content-Type: - application/json Accept: - application/json response: status: code: 200 message: OK headers: Server: - nginx/1.8.0 Date: - Tue, 03 Nov 2015 23:00:05 GMT Content-Type: - application/json Transfer-Encoding: - chunked Connection: - keep-alive X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff Access-Control-Allow-Methods: - POST, GET, PUT, DELETE, OPTIONS Access-Control-Request-Method: - GET Access-Control-Allow-Headers: - Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Token Access-Control-Max-Age: - '1728000' Etag: - '"5f4badf9ae0332fc32b112a4b500a597"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 5aa1c451-4dfe-44fd-aace-7bda78e7fdba X-Runtime: - '0.058243' body: encoding: UTF-8 string: |- { "offers": [ { "offer_uses_remaining": { "offer_key": 7365285, "uses_this_period": 100, "uses_remaining": "unlimited", "number_of_uses_remaining": null, "last_used_on_date": "2015-11-03T22:59:46.000Z", "next_available_use_date": null, "usable": true } } ] } http_version: recorded_at: Tue, 03 Nov 2015 23:00:06 GMT recorded_with: VCR 2.9.3