module Credova::Payments
Constants
- ENDPOINTS
Public Class Methods
lender_payment_options(lender_code, amount_to_finance)
click to toggle source
# File lib/credova/payments.rb, line 20 def self.lender_payment_options(lender_code, amount_to_finance) endpoint = ENDPOINTS[:lender_payment_options] % [lender_code, amount_to_finance] post_request(endpoint) end
lowest_payment_option(store_code, amount_to_finance)
click to toggle source
# File lib/credova/payments.rb, line 14 def self.lowest_payment_option(store_code, amount_to_finance) endpoint = ENDPOINTS[:lowest_payment_option] % [store_code, amount_to_finance] post_request(endpoint) end
store_payment_options(store_code, amount_to_finance)
click to toggle source
# File lib/credova/payments.rb, line 26 def self.store_payment_options(store_code, amount_to_finance) endpoint = ENDPOINTS[:store_payment_options] % [store_code, amount_to_finance] post_request(endpoint) end