- Update rexml from 3.3.7 to 3.3.9
- Update rexml from 3.3.2 to 3.3.7
- Fix dependencies for ruby 2
- Update rexml from 3.2.9 to 3.3.2
- Update rexml from 3.2.5 to 3.2.9
- Add 403 response to the list of mapped errors
- Update bundler from 2.2.24 to 2.3.6
- Add rexml 3.2.5 dependency to make the Gem compatible with Ruby 3.1
- Update minitest from 5.14.0 to 5.18 to make the Gem compatible with Ruby 3.1
- Update httparty dependency from 0.18 to 0.21
- Fix error when the api response includes error_description instead of message key.
- Send
access_token
in the Authorization Header instead of the query params See Official Documentation
- Classify status code 401 as EasyMeli::InvalidTokenError.
- Move Error class search to its own class and reuse it for ApiClient and AuthorizationClient
- Raise EasyMeli exceptions for server side errors.
- Add Unknown error support
- Fix error when the api response doesn't include error or message keys.
- Add right error message for forbidden error.
- Update Error classification mechanism to use error message as first option
- Fix a bug in the error raising in the authorization client introduced in V 0.6.0
- Classify an
invalid_token
response as anInvalidTokenError
. Malformed access_token
error changed fromAuthenticationError
toInvalidTokenError
.
self.api_client
Prevent access_token override when initialize together with a refresh_token.- Raises a EasyMeli::TooManyRequestsError if a 429 response status is returned.