Class: Dodopayments::Resources::Invoices
- Inherits:
-
Object
- Object
- Dodopayments::Resources::Invoices
- Defined in:
- lib/dodopayments/resources/invoices.rb,
lib/dodopayments/resources/invoices/payments.rb
Defined Under Namespace
Classes: Payments
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(client:) ⇒ Invoices
constructor
private
A new instance of Invoices.
Constructor Details
#initialize(client:) ⇒ Invoices
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 Invoices.
12 13 14 15 |
# File 'lib/dodopayments/resources/invoices.rb', line 12 def initialize(client:) @client = client @payments = Dodopayments::Resources::Invoices::Payments.new(client: client) end |
Instance Attribute Details
#payments ⇒ Dodopayments::Resources::Invoices::Payments (readonly)
7 8 9 |
# File 'lib/dodopayments/resources/invoices.rb', line 7 def payments @payments end |