lib/revo/loans_api/client.rb in revo-loans_api-0.0.51 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.52
- old
+ new
@@ -367,9 +367,13 @@
def create_stretch_document(id:, payload:)
make_request(:post, "offer/stretch/#{id}", params: { payload: payload })
end
+ def update_credit_facility(id:, fields:)
+ make_request(:post, "api/billing/v1/credit_facilities/#{id}", params: { fields: fields })
+ end
+
private
API_CONTENT_TYPE = 'application/json'.freeze
attr_reader :base_url, :login, :password, :application_source