Sha256: a877aed1ae75d5602b3f1593b4f2e0f0873501e2ba161f991658cba0f813a4de
Contents?: true
Size: 752 Bytes
Versions: 5
Compression:
Stored size: 752 Bytes
Contents
require_relative './api_helper.rb' module BayonetClient class Lending BASE_PATH = "/lending" def self.report_transaction(params) BayonetClient::ApiHelper.request("#{BASE_PATH}/transaction/report", params) end def self.report_transaction_and_consult(params) BayonetClient::ApiHelper.request("#{BASE_PATH}/transaction/report?consult=true", params) end def self.consult(params) BayonetClient::ApiHelper.request("#{BASE_PATH}/consult", params) end def self.feedback(params) BayonetClient::ApiHelper.request("#{BASE_PATH}/feedback", params) end def self.feedback_historical(params) BayonetClient::ApiHelper.request("#{BASE_PATH}/feedback-historical", params) end end end
Version data entries
5 entries across 5 versions & 1 rubygems