lib/revo/loans_api/client.rb in revo-loans_api-0.0.57 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.58

- old
+ new

@@ -405,9 +405,19 @@ def nethone(params: {}) make_request(:post, "nethone", params: params) end + def restructings_form_update(id:, client_guid:, sign_code:, payload:) + make_request(:patch, + "restructuring_forms", + params: { id: id, client_guid: client_guid, sign_code: sign_code, payload: payload}) + end + + def restructing_forms_send_sms(id:, client_guid:) + make_request(:post, "restructuring_forms", params: { id: id, client_guid: client_guid}) + end + private API_CONTENT_TYPE = 'application/json'.freeze attr_reader :base_url, :login, :password, :application_source