lib/revo/loans_api/client.rb in revo-loans_api-0.0.37 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.38

- old
+ new

@@ -311,9 +311,18 @@ :get, "stores/#{store_id}/documents/#{kind}.#{format}" ) end + def get_loan_application_certificate(loan_application_id:, kind:) + make_request( + :get, + "loan_applications/#{loan_application_id}/certificate", + params: { kind: kind } + ) + end + + private API_CONTENT_TYPE = 'application/json'.freeze attr_reader :base_url, :login, :password, :application_source