Sha256: 8cfa3064024c6a58f0663c63d5a2a4560ff6501431f35304c1273a79277f5abc

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://devapi.thecurrencycloud.com/v2/rates/detailed
    body:
      encoding: UTF-8
      string: buy_currency=GBP&sell_currency=USD&fixed_side=buy&amount=10000
    headers:
      X-Auth-Token:
      - 242993ca94b9d1c6c1d8f7d3275a6f36
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Mon, 27 Apr 2015 20:35:49 GMT
      Content-Type:
      - application/json;charset=utf-8
      Content-Length:
      - '377'
      Connection:
      - keep-alive
      X-Request-Id:
      - '2773737871964103057'
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"settlement_cut_off_time":"2015-04-29T14:00:00Z","currency_pair":"GBPUSD","client_buy_currency":"GBP","client_sell_currency":"USD","client_buy_amount":"10000.00","client_sell_amount":"15234.00","fixed_side":"buy","mid_market_rate":"1.5231","client_rate":"1.5234","partner_rate":null,"core_rate":"1.5234","deposit_required":null,"deposit_amount":"0.0","deposit_currency":"USD"}'
    http_version: 
  recorded_at: Mon, 27 Apr 2015 20:35:49 GMT
recorded_with: VCR 2.9.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
currency_cloud-0.5 spec/support/vcr_cassettes/Rates/can_provided_detailed_rate.yml