Sha256: 14e82d3c548853f0c2e267949a837eaff084d4ed468c8073afea9d6173a96f09

Contents?: true

Size: 1.9 KB

Versions: 2

Compression:

Stored size: 1.9 KB

Contents

---
http_interactions:
- 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:
      - token_without_limit
      Content-Type:
      - application/json
      Accept:
      - application/json
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - application/json;charset=UTF-8
      Date:
      - Wed, 16 Sep 2015 20:14:00 GMT
      Etag:
      - '"077b1d5df0e5215bf378d3b4fb4fc7027"'
      Server:
      - nginx/1.6.2
      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/34983fb3921fc7561b310804c87677f7c7dcb569/original.html"},"links":[]}'
    http_version: 
  recorded_at: Wed, 16 Sep 2015 20:14:00 GMT
- request:
    method: get
    uri: https://redeem-demo.adcrws.com/v1/redeem/7365285/?member_key=API_RUBY_GEM_TEST
    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:
      Content-Type:
      - application/json;charset=UTF-8
      Date:
      - Wed, 16 Sep 2015 20:14:01 GMT
      Etag:
      - '"0ff5ab06abc27ae6bc33adccffb86e1ff"'
      Server:
      - nginx/1.6.2
      Content-Length:
      - '136'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"links":[{"rel":"instore_print","href":"https://redeem-demo.adcrws.com/v1/redeem/7365285/instore_print?member_key=API_RUBY_GEM_TEST"}]}'
    http_version: 
  recorded_at: Wed, 16 Sep 2015 20:14:01 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
access-2.0.11 test/fixtures/redeem_offer_no_redeem_type.yml
access-2.0.10 test/fixtures/redeem_offer_no_redeem_type.yml