README.md in iex-ruby-client-0.3.3 vs README.md in iex-ruby-client-0.4.0

- old
+ new

@@ -81,10 +81,22 @@ company.company_name # 'Microsoft Corporation' ``` See [#company](https://iextrading.com/developer/docs/#company) for detailed documentation or [company.rb](lib/iex/resources/company.rb) for returned fields. +### Get Company Logo + +Fetches company logo for a symbol. + +```ruby +logo = IEX::Resources::Logo.get('MSFT') + +logo.url # 'https://storage.googleapis.com/iex/api/logos/MSFT.png' +``` + +See [#logo](https://iextrading.com/developer/docs/#logo) for detailed documentation or [logo.rb](lib/iex/resources/logo.rb) for returned fields. + ### Get Recent News Fetches news for a symbol. ```ruby @@ -143,9 +155,13 @@ ## Errors ### SymbolNotFound If a symbol cannot be found an [IEX::Errors::SymbolNotFound](lib/iex/errors/symbol_not_found_error.rb) exception is raised. + +### ClientError + +All errors that return HTTP codes 400-600 result in a [IEX::Errors::ClientError](lib/iex/errors/client_error.rb) exception. ## Contributing See [CONTRIBUTING](CONTRIBUTING.md).