--- 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: - token_without_filters 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, 16 Sep 2015 19:54:00 GMT Etag: - '"bb89a0b18b8378569628e3b652cde843"' Server: - nginx/1.6.2 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-Ratelimit-Limit: - '1000' X-Ratelimit-Remaining: - '980' X-Request-Id: - dcce1622-9ee1-4f2f-a409-4fae9ce11c98 X-Runtime: - '0.026274' X-Xss-Protection: - 1; mode=block Content-Length: - '3656' Connection: - keep-alive body: encoding: ASCII-8BIT string: !binary |- ewogICJvZmZlcnMiOiBbCiAgICB7CiAgICAgICJvZmZlcl9rZXkiOiA3MzY1 Mjg1LAogICAgICAib2ZmZXJfZ3JvdXBfa2V5IjogMTM5Njk3LAogICAgICAi dGl0bGUiOiAiQW55IGV4dHJhIGxhcmdlIHBpenphIGZvciB0aGUgcHJpY2Ug b2YgbGFyZ2UgcGl6emEuIiwKICAgICAgInN0YXJ0ZWRfb24iOiAiMjAxNS0w NS0xOVQwMDowMDowMC4wMDBaIiwKICAgICAgImV4cGlyZXNfb24iOiAiMjAx NS0xMC0xNlQyMzo1OTo1OS45OTlaIiwKICAgICAgInRlcm1zX29mX3VzZSI6 ICJEaXNjb3VudCBiYXNlZCBvbiByZWd1bGFyIG1lbnUgcHJpY2VzLiBTb21l IHN0b3JlcyBjaGFyZ2UgJDEgbW9yZSBmb3IgU2ljaWxpYW4gUGFuIENydXN0 LiBEZWxpdmVyeSBhdmFpbGFibGUgYXQgcGFydGlja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iLAogICAgICAib2ZmZXJfc2V0IjogIkRJU0NPVU5UIiwKICAgICAgInNh dmluZ3NfYW1vdW50IjogIjIwJSIsCiAgICAgICJtaW5pbXVtX3B1cmNoYXNl IjogMC4wLAogICAgICAibWF4aW11bV9hd2FyZCI6IDAuMCwKICAgICAgIm9m ZmVyX3ZhbHVlIjogNywKICAgICAgImRpc2NvdW50X3R5cGUiOiAicGVyY2Vu dCIsCiAgICAgICJkaXNjb3VudF92YWx1ZSI6IDIwLjAsCiAgICAgICJwcm9t b3Rpb25fY29kZSI6IGZhbHNlLAogICAgICAicmVkZW1wdGlvbl9tZXRob2Rz IjogWwogICAgICAgICJpbnN0b3JlX3ByaW50IgogICAgICBdLAogICAgICAi Y2F0ZWdvcmllcyI6IFsKICAgICAgICB7CiAgICAgICAgICAiY2F0ZWdvcnlf bmFtZSI6ICJDYXN1YWwgJiBGaW5lIERpbmluZyIsCiAgICAgICAgICAiY2F0 ZWdvcnlfa2V5IjogMTAwOSwKICAgICAgICAgICJjYXRlZ29yeV9wYXJlbnRf a2V5IjogMzksCiAgICAgICAgICAiY2F0ZWdvcnlfcGFyZW50X25hbWUiOiAi RGluaW5nICYgRm9vZCIsCiAgICAgICAgICAiY2F0ZWdvcnlfdHlwZSI6ICJz dWJjYXRlZ29yeSIKICAgICAgICB9CiAgICAgIF0sCiAgICAgICJvZmZlcl9z dG9yZSI6IHsKICAgICAgICAibmFtZSI6ICJGaWdhcm8ncyBJdGFsaWFuIFBp enphIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiVGFrZSB5b3VyIHRpbWUg YW5kIG9yZGVyIHdoYXQgeW91J2QgbGlrZS4gV2hldGhlciB5b3UgZW5qb3kg Y2xhc3NpYyBwaXp6YXMgbGlrZSBwZXBwZXJvbmkgb3IgY2hlZXNlIG9yIGlm IHlvdSB3YW50IHRvIHNwaWNlIGl0IHVwIGJ5IG9yZGVyaW5nIEJCUSBzYXVj ZSBvciB0aGluIGNydXN0IC0gV2UgaGF2ZSB3aGF0IHlvdSB3YW50ISBUcnkg RmlnYXJvJ3MgUGl6emEgLSBGbGF2b3JzIFRoYXQgU2luZy4iLAogICAgICAg ICJzdG9yZV9rZXkiOiAxODkzODQ5OCwKICAgICAgICAicGh5c2ljYWxfbG9j YXRpb24iOiB7CiAgICAgICAgICAibG9jYXRpb25fbmFtZSI6ICJGaWdhcm8n cyBJdGFsaWFuIFBpenphIiwKICAgICAgICAgICJ3ZWJfYWRkcmVzcyI6ICJo dHRwOi8vd3d3LmZpZ2Fyb3MuY29tIiwKICAgICAgICAgICJkZXNjcmlwdGlv biI6IG51bGwsCiAgICAgICAgICAibG9jYXRpb25fa2V5IjogMjQ0ODIwLAog ICAgICAgICAgInBvc3RhbF9jb2RlIjogIjk4NjMyIiwKICAgICAgICAgICJj b3VudHJ5IjogIlVTIiwKICAgICAgICAgICJzdHJlZXRfYWRkcmVzcyI6ICIz MjA4IE9jZWFuIEJlYWNoIEh3eSIsCiAgICAgICAgICAiZXh0ZW5kZWRfc3Ry ZWV0X2FkZHJlc3MiOiBudWxsLAogICAgICAgICAgImNpdHlfbG9jYWxpdHki OiAiTG9uZ3ZpZXciLAogICAgICAgICAgInN0YXRlX3JlZ2lvbiI6ICJXQSIs CiAgICAgICAgICAiZ2VvbG9jYXRpb25fYXJyYXkiOiBbCiAgICAgICAgICAg IC0xMjIuOTcxMDUsCiAgICAgICAgICAgIDQ2LjE0ODMxCiAgICAgICAgICBd LAogICAgICAgICAgImdlb2xvY2F0aW9uIjogewogICAgICAgICAgICAibGF0 IjogNDYuMTQ4MzEsCiAgICAgICAgICAgICJsb24iOiAtMTIyLjk3MTA1CiAg ICAgICAgICB9LAogICAgICAgICAgInBob25lX251bWJlciI6ICIzNjAtMzUz LTMzMzMiCiAgICAgICAgfQogICAgICB9LAogICAgICAibG9jYXRpb25fa2V5 d29yZHMiOiBbCgogICAgICBdLAogICAgICAibGlua3MiOiB7CiAgICAgICAg InJlZGVlbV9vZmZlciI6IHsKICAgICAgICAgICJpbnN0b3JlX3ByaW50Ijog Imh0dHBzOi8vcmVkZWVtLWRlbW8uYWRjcndzLmNvbS92MS9yZWRlZW0vNzM2 NTI4NS9pbnN0b3JlX3ByaW50IgogICAgICAgIH0sCiAgICAgICAgInNob3df c3RvcmUiOiAiaHR0cHM6Ly9vZmZlci1kZW1vLmFkY3J3cy5jb20vdjEvc3Rv cmVzLzE4OTM4NDk4IiwKICAgICAgICAic2hvd19sb2NhdGlvbiI6ICJodHRw czovL29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9sb2NhdGlvbnMvMjQ0ODIw IiwKICAgICAgICAiZmluZF9vZmZlcnNfYXRfdGhpc19zdG9yZSI6ICJodHRw czovL29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9vZmZlcnM/c3RvcmVfa2V5 PTE4OTM4NDk4IiwKICAgICAgICAiZmluZF9vZmZlcnNfYXRfdGhpc19sb2Nh dGlvbiI6ICJodHRwczovL29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9vZmZl cnM/bG9jYXRpb25fa2V5PTI0NDgyMCIsCiAgICAgICAgImZpbmRfdGhpc19v ZmZlcl9hdF9tb3JlX2xvY2F0aW9ucyI6ICJodHRwczovL29mZmVyLWRlbW8u YWRjcndzLmNvbS92MS9vZmZlcnM/b2ZmZXJfZ3JvdXBfa2V5PTEzOTY5NyIs CiAgICAgICAgImZpbmRfbG9jYXRpb25zX3dpdGhfdGhpc19vZmZlciI6ICJo dHRwczovL29mZmVyLWRlbW8uYWRjcndzLmNvbS92MS9sb2NhdGlvbnM/b2Zm ZXJfZ3JvdXBfa2V5PTEzOTY5NyIsCiAgICAgICAgImZpbmRfbG9jYXRpb25z X2Zvcl90aGlzX3N0b3JlIjogImh0dHBzOi8vb2ZmZXItZGVtby5hZGNyd3Mu Y29tL3YxL2xvY2F0aW9ucz9zdG9yZV9rZXk9MTg5Mzg0OTgiCiAgICAgIH0K ICAgIH0KICBdCn0= http_version: recorded_at: Wed, 16 Sep 2015 19:54:00 GMT recorded_with: VCR 2.9.3