lib/revo/loans_api/client.rb in revo-loans_api-0.0.52 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.53

- old
+ new

@@ -368,10 +368,10 @@ 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 }) + make_request(:patch, "credit_facilities/#{id}", params: { fields: fields }) end private API_CONTENT_TYPE = 'application/json'.freeze