Sha256: 2ee0fa6fec775571db335a8d9a292fea1981c68e1863d1d8278b104775287d7b
Contents?: true
Size: 776 Bytes
Versions: 5
Compression:
Stored size: 776 Bytes
Contents
Upgrading iex-ruby-client =========================== ### Upgrading to >= 0.4.0 #### All errors that return HTTP codes 400-600 result in a IEX::Errors::ClientError exception On previous versions, calling `IEX::Resources::Chart.get` with an invalid option results on a `Faraday::ClientError`. On versions >= 0.4.0, it will return an `IEX::Errors::ClientError`. Before: ```ruby IEX::Resources::Chart.get('MSFT', '1d', chart_interval: 10, invalid_option: 'foo') > Faraday::ClientError: the server responded with status 400 ``` After: ```ruby IEX::Resources::Chart.get('MSFT', '1d', chart_interval: 10, invalid_option: 'foo') > IEX::Errors::ClientError: "invalidOption" is not allowed ``` See [#9](https://github.com/dblock/iex-ruby-client/pull/9) for more information.
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
iex-ruby-client-0.4.4 | UPGRADING.md |
iex-ruby-client-0.4.3 | UPGRADING.md |
iex-ruby-client-0.4.2 | UPGRADING.md |
iex-ruby-client-0.4.1 | UPGRADING.md |
iex-ruby-client-0.4.0 | UPGRADING.md |