Sha256: fd868763f672fd1c681e4bb87d10435e7d26cd0659abbb321f8b75df71100c9d

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.fortnox.se/3/units/
    body:
      encoding: UTF-8
      string: '{"Unit":{"Code":"blarg","Description":"A value"}}'
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/json
      Authorization-Code:
      - ea3862b0-189c-464b-8e23-1b9702365ea1
      Client-Secret:
      - 9aBA8ZgsvR
      Access-Token:
      - ccaef817-d5d8-4b1c-a316-54f3e55c5c54
  response:
    status:
      code: 201
      message: Created
    headers:
      Server:
      - nginx
      Date:
      - Thu, 22 Feb 2018 15:06:37 GMT
      Content-Type:
      - application/json
      Connection:
      - close
      Location:
      - units
      X-Rack-Responsetime:
      - '103'
      X-Uid:
      - e510383d
      X-Build:
      - bec4a33b2e
    body:
      encoding: UTF-8
      string: '{"Unit":{"@url":"https:\/\/api.fortnox.se\/3\/units\/blarg","Code":"blarg","Description":"A
        value"}}'
    http_version: 
  recorded_at: Thu, 22 Feb 2018 15:06:37 GMT
recorded_with: VCR 3.0.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fortnox-api-0.6.3 spec/vcr_cassettes/units/save_new.yml
fortnox-api-0.6.2 spec/vcr_cassettes/units/save_new.yml
fortnox-api-0.6.1 spec/vcr_cassettes/units/save_new.yml
fortnox-api-0.6.0 spec/vcr_cassettes/units/save_new.yml