Sha256: 82cca32c7bd667c94ca6e5937a9c650a38cc51c9b2b2177caf58f2f7a737a49b

Contents?: true

Size: 1.3 KB

Versions: 10

Compression:

Stored size: 1.3 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://cloud.iexapis.com/v1/stock/MSFT/chart/1d?badOption=option&chartInterval=10&token=test-iex-api-publishable-token
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/json; charset=utf-8
      User-Agent:
      - IEX Ruby Client/1.1.1
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Server:
      - nginx
      Date:
      - Sat, 10 Aug 2019 15:56:38 GMT
      Content-Type:
      - application/json; charset=utf-8
      Content-Length:
      - '40'
      Connection:
      - keep-alive
      Set-Cookie:
      - ctoken=df01e82c783c4075864ac94115551f6f; Max-Age=43200; Path=/; Expires=Sun,
        11 Aug 2019 03:56:38 GMT
      Strict-Transport-Security:
      - max-age=15768000
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Credentials:
      - 'true'
      Access-Control-Allow-Methods:
      - GET, OPTIONS
      Access-Control-Allow-Headers:
      - Origin, X-Requested-With, Content-Type, Accept
    body:
      encoding: UTF-8
      string: '{"error":"\"badOption\" is not allowed"}'
    http_version:
  recorded_at: Sat, 10 Aug 2019 15:56:38 GMT
recorded_with: VCR 5.0.0

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iex-ruby-client-2.1.0 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-2.0.0 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.6.0 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.5.0 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.4.1 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.4.0 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.3.0 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.2.0 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.1.2 spec/fixtures/iex/chart/bad_option.yml
iex-ruby-client-1.1.1 spec/fixtures/iex/chart/bad_option.yml