--- http_interactions: - request: method: get uri: https://offer-demo.adcrws.com/v1/offers/7365285?member_key=API_RUBY_GEM_TEST&query=pizza 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: - Thu, 21 Jan 2016 18:34:39 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: - '"ecd8f53969da5a379ed17714d9e0305d"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 5b5674a8-c9db-4e70-b236-8b1ea23daf8a X-Runtime: - '0.083281' body: encoding: ASCII-8BIT string: !binary |- ewogICJpbmZvIjogewogICAgInRvdGFsX3Jlc3VsdHMiOiAxLAogICAgImN1 cnJlbnRfcGFnZSI6IDEsCiAgICAidG90YWxfcGFnZXMiOiAxLAogICAgInJl c3VsdHNfcGVyX3BhZ2UiOiAxCiAgfSwKICAib2ZmZXJzIjogWwogICAgewog ICAgICAib2ZmZXJfa2V5IjogNzM2NTI4NSwKICAgICAgIm9mZmVyX2dyb3Vw X2tleSI6IDEzOTY5NywKICAgICAgInRpdGxlIjogIkFueSBleHRyYSBsYXJn ZSBwaXp6YSBmb3IgdGhlIHByaWNlIG9mIGxhcmdlIHBpenphLiIsCiAgICAg ICJzdGFydGVkX29uIjogIjIwMTUtMDktMjNUMDA6MDA6MDAuMDAwWiIsCiAg ICAgICJleHBpcmVzX29uIjogIjIwMTYtMDItMjBUMjM6NTk6NTkuOTk5WiIs CiAgICAgICJ0ZXJtc19vZl91c2UiOiAiRGlzY291bnQgYmFzZWQgb24gcmVn dWxhciBtZW51IHByaWNlcy4gU29t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FsLnBu ZyIsCiAgICAgICJuYXRpb25hbF9vZmZlciI6IHRydWUsCiAgICAgICJ1c2Vz X3Blcl9wZXJpb2QiOiAidW5saW1pdGVkIiwKICAgICAgIm9mZmVyX3NldCI6 ICJESVNDT1VOVCIsCiAgICAgICJzYXZpbmdzX2Ftb3VudCI6ICIyMCUiLAog ICAgICAibWluaW11bV9wdXJjaGFzZSI6IDAuMCwKICAgICAgIm1heGltdW1f YXdhcmQiOiAwLjAsCiAgICAgICJvZmZlcl92YWx1ZSI6IDcsCiAgICAgICJk aXNjb3VudF90eXBlIjogInBlcmNlbnQiLAogICAgICAiZGlzY291bnRfdmFs dWUiOiAyMC4wLAogICAgICAicHJvbW90aW9uX2NvZGUiOiBmYWxzZSwKICAg ICAgInJlZGVtcHRpb25fbWV0aG9kcyI6IFsKICAgICAgICAiaW5zdG9yZV9w cmludCIKICAgICAgXSwKICAgICAgImNhdGVnb3JpZXMiOiBbCiAgICAgICAg ewogICAgICAgICAgImNhdGVnb3J5X25hbWUiOiAiQ2FzdWFsICYgRmluZSBE aW5pbmciLAogICAgICAgICAgImNhdGVnb3J5X2tleSI6IDEwMDksCiAgICAg ICAgICAiY2F0ZWdvcnlfcGFyZW50X2tleSI6IDM5LAogICAgICAgICAgImNh dGVnb3J5X3BhcmVudF9uYW1lIjogIkRpbmluZyAmIEZvb2QiLAogICAgICAg ICAgImNhdGVnb3J5X3R5cGUiOiAic3ViY2F0ZWdvcnkiCiAgICAgICAgfQog ICAgICBdLAogICAgICAib2ZmZXJfc3RvcmUiOiB7CiAgICAgICAgIm5hbWUi OiAiRmlnYXJvJ3MgSXRhbGlhbiBQaXp6YSIsCiAgICAgICAgImRlc2NyaXB0 aW9uIjogIlRha2UgeW91ciB0aW1lIGFuZCBvcmRlciB3aGF0IHlvdSdkIGxp a2UuIFdoZXRoZXIgeW91IGVuam95IGNsYXNzaWMgcGl6emFzIGxpa2UgcGVw cGVyb25pIG9yIGNoZWVzZSBvciBpZiB5b3Ugd2FudCB0byBzcGljZSBpdCB1 cCBieSBvcmRlcmluZyBCQlEgc2F1Y2Ugb3IgdGhpbiBjcnVzdCAtIFdlIGhh dmUgd2hhdCB5b3Ugd2FudCEgVHJ5IEZpZ2FybydzIFBpenphIC0gRmxhdm9y cyBUaGF0IFNpbmcuIiwKICAgICAgICAic3RvcmVfa2V5IjogMTg5Mzg0OTgs CiAgICAgICAgInBoeXNpY2FsX2xvY2F0aW9uIjogewogICAgICAgICAgImxv Y2F0aW9uX25hbWUiOiAiRmlnYXJvJ3MgSXRhbGlhbiBQaXp6YSIsCiAgICAg ICAgICAid2ViX2FkZHJlc3MiOiAiaHR0cDovL3d3dy5maWdhcm9zLmNvbSIs CiAgICAgICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAgICAgICAgImxv Y2F0aW9uX2tleSI6IDI0NDgyMCwKICAgICAgICAgICJwb3N0YWxfY29kZSI6 ICI5ODYzMiIsCiAgICAgICAgICAiY291bnRyeSI6ICJVUyIsCiAgICAgICAg ICAic3RyZWV0X2FkZHJlc3MiOiAiMzIwOCBPY2VhbiBCZWFjaCBId3kiLAog ICAgICAgICAgImV4dGVuZGVkX3N0cmVldF9hZGRyZXNzIjogbnVsbCwKICAg ICAgICAgICJjaXR5X2xvY2FsaXR5IjogIkxvbmd2aWV3IiwKICAgICAgICAg ICJzdGF0ZV9yZWdpb24iOiAiV0EiLAogICAgICAgICAgImdlb2xvY2F0aW9u X2FycmF5IjogWwogICAgICAgICAgICAtMTIyLjk3MTA1LAogICAgICAgICAg ICA0Ni4xNDgzMQogICAgICAgICAgXSwKICAgICAgICAgICJnZW9sb2NhdGlv biI6IHsKICAgICAgICAgICAgImxhdCI6IDQ2LjE0ODMxLAogICAgICAgICAg ICAibG9uIjogLTEyMi45NzEwNQogICAgICAgICAgfSwKICAgICAgICAgICJw aG9uZV9udW1iZXIiOiAiMzYwLTM1My0zMzMzIgogICAgICAgIH0KICAgICAg fSwKICAgICAgImxvY2F0aW9uX2tleXdvcmRz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bnM/c3RvcmVf a2V5PTE4OTM4NDk4IgogICAgICB9LAogICAgICAib2ZmZXJfdXNlc19yZW1h aW5pbmciOiB7CiAgICAgICAgIm9mZmVyX2tleSI6IDczNjUyODUsCiAgICAg ICAgInVzZXNfdGhpc19wZXJpb2QiOiAxMDAsCiAgICAgICAgInVzZXNfcmVt YWluaW5nIjogInVubGltaXRlZCIsCiAgICAgICAgIm51bWJlcl9vZl91c2Vz X3JlbWFpbmluZyI6IG51bGwsCiAgICAgICAgImxhc3RfdXNlZF9vbl9kYXRl IjogIjIwMTYtMDEtMjFUMTg6MzQ6MzcuMDAwWiIsCiAgICAgICAgIm5leHRf YXZhaWxhYmxlX3VzZV9kYXRlIjogbnVsbCwKICAgICAgICAidXNhYmxlIjog dHJ1ZQogICAgICB9CiAgICB9CiAgXQp9 http_version: recorded_at: Thu, 21 Jan 2016 18:34:43 GMT recorded_with: VCR 3.0.0