Sha256: 960bc0a176b68303f79fedb8cfa5d2d96720c199f0bcc6dfc40d6053b08c4885

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

Stored size: 1.84 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://offer-demo.adcrws.com/v1/autocomplete?member_key=API_RUBY_GEM_TEST&per_page=1&resources=offers
    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:53:52 GMT
      Etag:
      - '"90803bf345ccb08cd42940b88fb61c84"'
      Server:
      - nginx/1.6.2
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Ratelimit-Limit:
      - '1000'
      X-Ratelimit-Remaining:
      - '999'
      X-Request-Id:
      - e882feab-a6d8-4e22-af03-5c18a6bd9c67
      X-Runtime:
      - '0.049246'
      X-Xss-Protection:
      - 1; mode=block
      Content-Length:
      - '281'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: |-
        {
          "suggestions": {
            "query": "*",
            "offers": [
              {
                "offer_name": "$25 off your move.",
                "offer_key": 10377601,
                "logo_url": "https://static-demo.accessdevelopment.com/brand/ce5e8c481ee58af3412a7c05115f655211496593/original.png"
              }
            ]
          }
        }
    http_version: 
  recorded_at: Wed, 16 Sep 2015 19:53:52 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
access-2.0.9 test/fixtures/autocomplete_search_offers.yml
access-2.0.8 test/fixtures/autocomplete_search_offers.yml