README.md in revo-loans_api-0.0.11 vs README.md in revo-loans_api-0.0.12
- old
+ new
@@ -446,9 +446,43 @@
result.success? # => false
result.response # => `{ errors: { mobile_phone: ['error'] } }`
```
+### Send billing shift confirmation code
+
+
+```ruby
+result = client.send_billing_shift_confirmation_code(mobile_phone: '8881234567')
+
+# Success:
+result.success? # => true
+result.response # => `nil`
+# Failure:
+result.success? # => false
+result.response # => `{ errors: { mobile_phone: ['error'] } }`
+```
+
+
+### Info about billing shift
+
+
+```ruby
+result = client.billing_shift_info(mobile_phone: '8881234567')
+# Success:
+result.success? # => true
+result.response # => =>
+# [
+# { billing_chain: 4, date: '2020-02-26' },
+# { billing_chain: 1, date: '2020-03-02' },
+# { billing_chain: 2, date: '2020-03-10' }
+# ]
+# 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.
If the provided session token is invalid, you'll get `Revo::LoansApi::InvalidAccessTokenError`.