README.md in revo-loans_api-0.0.14 vs README.md in revo-loans_api-0.0.15
- old
+ new
@@ -450,36 +450,50 @@
### Send billing shift confirmation code
```ruby
-result = client.send_billing_shift_confirmation_code(mobile_phone: '8881234567')
+result = client.send_billing_shift_confirmation_code(client_id: 1)
# Success:
result.success? # => true
result.response # => `nil`
# Failure:
result.success? # => false
-result.response # => `{ errors: { mobile_phone: ['error'] } }`
+result.response # => `{ errors: { client: ['error'] } }`
```
### Info about billing shift
```ruby
-result = client.billing_shift_info(mobile_phone: '8881234567')
+result = client.billing_shift_info(client_id: 1)
# 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'] } }`
+result.response # => `{ errors: { client: ['error'] } }`
+```
+
+
+### Confirm billing shift
+
+
+```ruby
+result = client.confirm_billing_shift(client_id: 1, code: '1111', billing_chain: 1)
+# Success:
+result.success? # => true
+result.response # => `nil`
+# Failure:
+result.success? # => false
+result.response # => `{ errors: { client: ['error'] } }`
```
### Possible Exceptions