lib/revo/loans_api/client.rb in revo-loans_api-0.0.50 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.51
- old
+ new
@@ -363,9 +363,13 @@
def suggest_address(id:, address:)
make_request(:get, "clients/#{id}/address", params: { address: address })
end
+ def create_stretch_document(id:, payload:)
+ make_request(:post, "offer/stretch/#{id}", params: { payload: payload })
+ end
+
private
API_CONTENT_TYPE = 'application/json'.freeze
attr_reader :base_url, :login, :password, :application_source