Sha256: 951ddf2e7151fc331b59e4e863d8fe27119815e6d8c956f23a4adbfbafc4e66e

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: http://sandbox.ecommerce.myfreecomm.com.br/api/orders/rexpense-custom-monthly-brl-5250/3001/adjustments/
    body:
      encoding: UTF-8
      string: '{"page":1,"limit":20}'
    headers:
      User-Agent:
      - Ecommerce Ruby Client v0.0.3
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Basic cDlhWXNSU0l2TTo0MWUxMzc2OGI0N2Q1NTM0MTdiNDQxYjg2M2Jh
  response:
    status:
      code: 200
      message: OK
    headers:
      Allow:
      - GET, POST, HEAD, OPTIONS
      Content-Language:
      - pt-br
      Content-Type:
      - application/json
      Date:
      - Wed, 27 May 2015 15:18:23 GMT
      ETag:
      - '"2791279433870516591"'
      Server:
      - nginx/1.8.0
      Vary:
      - Authenticate, Accept, Accept-Language, Cookie
      Content-Length:
      - '379'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '[{"valid_until": "2015-06-27", "redeemed_amount": 0, "valid_from":
        "2015-05-27", "description": "New promotion", "url": "http://sandbox.ecommerce.myfreecomm.com.br/api/orders/rexpense-custom-monthly-brl-5250/3001/adjustments/201/",
        "amount": "50.60", "order_url": "http://sandbox.ecommerce.myfreecomm.com.br/api/orders/rexpense-custom-monthly-brl-5250/3001/",
        "redemptions": []}]'
    http_version: '1.1'
    adapter_metadata:
      effective_url: http://sandbox.ecommerce.myfreecomm.com.br/api/orders/rexpense-custom-monthly-brl-5250/3001/adjustments/
  recorded_at: Wed, 27 May 2015 15:18:23 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecommerce-client-0.0.5 spec/vcr_cassettes/Ecommerce/Resources_AdjustmentOrder_find_all_when_success_returns_a_find_all_of_orders.yml
ecommerce-client-0.0.4 spec/vcr_cassettes/Ecommerce/Resources_AdjustmentOrder_find_all_when_success_returns_a_find_all_of_orders.yml