lib/revo/loans_api/client.rb in revo-loans_api-0.0.56 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.57
- old
+ new
@@ -401,9 +401,13 @@
def update_credit_facility(id:, fields:)
make_request(:patch, "credit_facilities/#{id}", params: { fields: fields })
end
+ def nethone(params: {})
+ make_request(:post, "nethone", params: params)
+ end
+
private
API_CONTENT_TYPE = 'application/json'.freeze
attr_reader :base_url, :login, :password, :application_source