lib/revo/loans_api/client.rb in revo-loans_api-0.0.45 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.46

- old
+ new

@@ -104,11 +104,12 @@ def complete_loan_request(token:, code:) make_request( :post, "loan_requests/#{token}/confirmation", - params: { code: code } + params: { code: code }, + headers: { 'Application-Source': application_source } ) end def create_loan(token:, term_id:) make_request( @@ -243,23 +244,9 @@ make_request( :post, "clients/#{client_id}/billing_shift", params: { billing_chain: billing_chain } ) - end - - # TEMP: method added for backward compatibility with v37 - def confirm_billing_shift(client_id:, code:, billing_chain:) - make_request( - :post, - "clients/#{client_id}/billing_shift/confirmation", - params: { code: code, billing_chain: billing_chain } - ) - end - - # TEMP: method added for backward compatibility with v37 - def send_billing_shift_confirmation_code(client_id:) - make_request(:post, "clients/#{client_id}/billing_shift") end def billing_shift_info(client_id:) make_request(:get, "clients/#{client_id}/billing_shift/info") end