Class: Sink::Resources::Company

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Company

Returns a new instance of Company.

Parameters:



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

#paymentsSink::Resources::Company::Payments (readonly)

For paying Stainless $$$



9
10
11
# File 'lib/sink/resources/company.rb', line 9

def payments
  @payments
end