Sha256: 723e889dcb4106a5753c5a5bdfd5d3d85b42627bba44f793552a14e91f782801

Contents?: true

Size: 1.72 KB

Versions: 6

Compression:

Stored size: 1.72 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:
      - 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:37:00 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:
      - '"cdc9e19f6eb96655bd3773c1172d9712"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - ced3cb21-cb68-46b6-a7e6-2b5da6b5b2b7
      X-Runtime:
      - '0.015204'
    body:
      encoding: UTF-8
      string: |-
        {
          "suggestions": {
            "query": "*",
            "categories": [
              {
                "category_name": "Air & Parking",
                "category_key": 1109,
                "logo_url": "https://static-demo.accessdevelopment.com/icons/travel.png"
              }
            ]
          }
        }
    http_version: 
  recorded_at: Thu, 21 Jan 2016 18:37:04 GMT
recorded_with: VCR 3.0.0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
access-2.0.48 test/vcr/cassettes/autocomplete_search_categories.yml
access-2.0.47 test/vcr/cassettes/autocomplete_search_categories.yml
access-2.0.46 test/vcr/cassettes/autocomplete_search_categories.yml
access-2.0.44 test/vcr/cassettes/autocomplete_search_categories.yml
access-2.0.43 test/vcr/cassettes/autocomplete_search_categories.yml
access-2.0.42 test/vcr/cassettes/autocomplete_search_categories.yml