lib/revo/loans_api/client.rb in revo-loans_api-0.0.13 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.14

- old
+ new

@@ -156,9 +156,13 @@ def billing_shift_info(mobile_phone:) make_request(:get, "clients/billing_shift/info?mobile_phone=#{mobile_phone}") end + def increase_client_limit(client_id:, amount:) + make_request(:patch, "clients/#{client_id}/limit", amount: amount) + end + private API_CONTENT_TYPE = 'application/json'.freeze attr_reader :base_url, :login, :password