README.md in revo-loans_api-0.0.4 vs README.md in revo-loans_api-0.0.7

- old
+ new

@@ -423,9 +423,31 @@ # decision_code: 610, # decision_message: 'К сожалению, Ваша заявка отклонена' # } ``` +### Patch client data + + +```ruby +result = client.update_client( + id: '123', # use the one you got when creating a client + client_params: { + mobile_phone: '8881234567', + email: 'user@example.com' + } + } +) + +# Success: +result.success? # => true +result.response # => `nil` + +# Failure: +result.success? # => false +result.response # => `{ errors: { mobile_phone: ['error'] } }` +``` + ### Possible Exceptions In case of generic HTTP errors (i.e. server is not reachable or network is down), `Revo::LoansApi::UnexpectedResponseError` will be raised.