Class: Sink::Resources::Company
- Inherits:
-
Object
- Object
- Sink::Resources::Company
- Defined in:
- lib/sink/resources/company.rb,
lib/sink/resources/company/payments.rb
Overview
Stainless API company
Defined Under Namespace
Classes: Payments
Instance Attribute Summary collapse
-
#payments ⇒ Sink::Resources::Company::Payments
readonly
For paying Stainless $$$.
Instance Method Summary collapse
-
#initialize(client:) ⇒ Company
constructor
A new instance of Company.
Constructor Details
#initialize(client:) ⇒ Company
Returns a new instance of Company.
12 13 14 15 |
# File 'lib/sink/resources/company.rb', line 12 def initialize(client:) @client = client @payments = Sink::Resources::Company::Payments.new(client: client) end |
Instance Attribute Details
#payments ⇒ Sink::Resources::Company::Payments (readonly)
For paying Stainless $$$
9 10 11 |
# File 'lib/sink/resources/company.rb', line 9 def payments @payments end |