Sha256: 109d491222d10dcfe4cc68e2acf69110c096cfd7a614bedf186f1f62c9189dd2

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api-fxpractice.oanda.com/v1/accounts
    body:
      encoding: US-ASCII
      string: ''
    headers:
      X-Accept-Datetime-Format:
      - RFC3339
      Authorization:
      - Bearer <OANDA_TESTING_API_TOKEN>
      Connection:
      - keep-alive
      Keep-Alive:
      - 30
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - openresty/1.7.0.1
      Date:
      - Mon, 14 Mar 2016 16:28:06 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '366'
      Connection:
      - keep-alive
      Etag:
      - '"efb224b14d5e6c03ab1a19a9983274e09d124b20"'
    body:
      encoding: UTF-8
      string: "{\n\t\"accounts\" : [\n\t\t{\n\t\t\t\"accountId\" : 1871900,\n\t\t\t\"accountName\"
        : \"Primary\",\n\t\t\t\"accountCurrency\" : \"USD\",\n\t\t\t\"marginRate\"
        : 0.05\n\t\t},\n\t\t{\n\t\t\t\"accountId\" : 1401515,\n\t\t\t\"accountName\"
        : \"USD\",\n\t\t\t\"accountCurrency\" : \"USD\",\n\t\t\t\"marginRate\" : 0.1\n\t\t},\n\t\t{\n\t\t\t\"accountId\"
        : 5094848,\n\t\t\t\"accountName\" : \"WTI\",\n\t\t\t\"accountCurrency\" :
        \"CAD\",\n\t\t\t\"marginRate\" : 0.05\n\t\t}\n\t]\n}"
    http_version: 
  recorded_at: Mon, 14 Mar 2016 16:28:06 GMT
recorded_with: VCR 3.0.1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oanda_api-0.9.5 spec/fixtures/vcr_cassettes/accounts_get.yml