Sha256: 769b7b0b7c2b05a5153b8e6d93ff2955b2ad8097f61e6b5801910a8b7afa83e2

Contents?: true

Size: 1006 Bytes

Versions: 3

Compression:

Stored size: 1006 Bytes

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.fortnox.se/3/units/
    body:
      encoding: UTF-8
      string: '{"Unit":{"Code":"blarg4","Description":"A value"}}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Wed, 29 May 2019 07:54:10 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Location:
      - units
      X-Rack-Responsetime:
      - '33'
      X-Uid:
      - 2904070a
      X-Build:
      - e930a91c78
    body:
      encoding: UTF-8
      string: '{"Unit":{"@url":"https:\/\/api.fortnox.se\/3\/units\/blarg4","Code":"blarg4","Description":"A
        value"}}'
    http_version: 
  recorded_at: Wed, 29 May 2019 07:54:10 GMT
recorded_with: VCR 4.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fortnox-api-0.7.2 spec/vcr_cassettes/units/save_new.yml
fortnox-api-0.7.1 spec/vcr_cassettes/units/save_new.yml
fortnox-api-0.7.0 spec/vcr_cassettes/units/save_new.yml