Sha256: 707de3a4a80c1ebed575df0150b1f995964df2d47709a487c5b8726437605242

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 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=categories
    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:53 GMT
      Etag:
      - '"0278fae8fe3100e682489033c340d4a2"'
      Server:
      - nginx/1.6.2
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Ratelimit-Limit:
      - '1000'
      X-Ratelimit-Remaining:
      - '998'
      X-Request-Id:
      - 888626a8-d13c-4c8f-8605-797265176928
      X-Runtime:
      - '0.017695'
      X-Xss-Protection:
      - 1; mode=block
      Content-Length:
      - '249'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: |-
        {
          "suggestions": {
            "query": "*",
            "categories": [
              {
                "category_name": "Apparel & Accessories",
                "category_key": 1077,
                "logo_url": "https://static-demo.accessdevelopment.com/icons/shopping.png"
              }
            ]
          }
        }
    http_version: 
  recorded_at: Wed, 16 Sep 2015 19:53:53 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_categories.yml
access-2.0.8 test/fixtures/autocomplete_search_categories.yml