Sha256: 64e46281d02fe2ed8b698f5142a5810ab7f1950f9c0413e844f30113237cba9e

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://sandbox.ecommerce.myfreecomm.com.br/api/orders/rexpense-custom-monthly-brl-5250/3001/adjustments/
    body:
      encoding: UTF-8
      string: '{"description":"New promotion","valid_from":"2015-05-27","valid_until":"2015-06-27"}'
    headers:
      User-Agent:
      - Ecommerce Ruby Client v0.0.3
      Accept:
      - application/json
      Content-Type:
      - application/json
      Authorization:
      - Basic cDlhWXNSU0l2TTo0MWUxMzc2OGI0N2Q1NTM0MTdiNDQxYjg2M2Jh
  response:
    status:
      code: 400
      message: BAD REQUEST
    headers:
      Allow:
      - GET, POST, HEAD, OPTIONS
      Content-Language:
      - pt-br
      Content-Type:
      - application/json
      Date:
      - Wed, 27 May 2015 15:10:44 GMT
      ETag:
      - '"2791279433870516591"'
      Server:
      - nginx/1.8.0
      Vary:
      - Authenticate, Accept, Accept-Language, Cookie
      Content-Length:
      - '69'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"field_errors": {"amount": ["Este campo \u00e9 obrigat\u00f3rio."]}}'
    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:10:44 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_create_when_success_when_sending_not_all_required_paramete.yml
ecommerce-client-0.0.4 spec/vcr_cassettes/Ecommerce/Resources_AdjustmentOrder_create_when_success_when_sending_not_all_required_paramete.yml