Class: Stripe::CapitalService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::CapitalService
- Defined in:
- lib/stripe/services/capital_service.rb
Instance Attribute Summary collapse
-
#financing_offers ⇒ Object
readonly
Returns the value of attribute financing_offers.
-
#financing_summary ⇒ Object
readonly
Returns the value of attribute financing_summary.
-
#financing_transactions ⇒ Object
readonly
Returns the value of attribute financing_transactions.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ CapitalService
constructor
A new instance of CapitalService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ CapitalService
Returns a new instance of CapitalService.
8 9 10 11 12 13 |
# File 'lib/stripe/services/capital_service.rb', line 8 def initialize(requestor) super @financing_offers = Stripe::Capital::FinancingOfferService.new(@requestor) @financing_summary = Stripe::Capital::FinancingSummaryService.new(@requestor) @financing_transactions = Stripe::Capital::FinancingTransactionService.new(@requestor) end |
Instance Attribute Details
#financing_offers ⇒ Object (readonly)
Returns the value of attribute financing_offers.
6 7 8 |
# File 'lib/stripe/services/capital_service.rb', line 6 def financing_offers @financing_offers end |
#financing_summary ⇒ Object (readonly)
Returns the value of attribute financing_summary.
6 7 8 |
# File 'lib/stripe/services/capital_service.rb', line 6 def financing_summary @financing_summary end |
#financing_transactions ⇒ Object (readonly)
Returns the value of attribute financing_transactions.
6 7 8 |
# File 'lib/stripe/services/capital_service.rb', line 6 def financing_transactions @financing_transactions end |