Class: Lithic::Resources::CreditProducts

Inherits:
Object
  • Object
show all
Defined in:
lib/lithic/resources/credit_products.rb,
lib/lithic/resources/credit_products/prime_rates.rb,
lib/lithic/resources/credit_products/extended_credit.rb

Defined Under Namespace

Classes: ExtendedCredit, PrimeRates

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ CreditProducts

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of CreditProducts.

Parameters:



15
16
17
18
19
# File 'lib/lithic/resources/credit_products.rb', line 15

def initialize(client:)
  @client = client
  @extended_credit = Lithic::Resources::CreditProducts::ExtendedCredit.new(client: client)
  @prime_rates = Lithic::Resources::CreditProducts::PrimeRates.new(client: client)
end

Instance Attribute Details

#extended_creditLithic::Resources::CreditProducts::ExtendedCredit (readonly)



7
8
9
# File 'lib/lithic/resources/credit_products.rb', line 7

def extended_credit
  @extended_credit
end

#prime_ratesLithic::Resources::CreditProducts::PrimeRates (readonly)



10
11
12
# File 'lib/lithic/resources/credit_products.rb', line 10

def prime_rates
  @prime_rates
end