Class: FinchAPI::Resources::Sandbox

Inherits:
Object
  • Object
show all
Defined in:
lib/finch_api/resources/sandbox.rb,
lib/finch_api/resources/sandbox/jobs.rb,
lib/finch_api/resources/sandbox/company.rb,
lib/finch_api/resources/sandbox/payment.rb,
lib/finch_api/resources/sandbox/directory.rb,
lib/finch_api/resources/sandbox/employment.rb,
lib/finch_api/resources/sandbox/individual.rb,
lib/finch_api/resources/sandbox/connections.rb,
lib/finch_api/resources/sandbox/jobs/configuration.rb,
lib/finch_api/resources/sandbox/connections/accounts.rb

Defined Under Namespace

Classes: Company, Connections, Directory, Employment, Individual, Jobs, Payment

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Sandbox

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 Sandbox.

Parameters:



30
31
32
33
34
35
36
37
38
39
# File 'lib/finch_api/resources/sandbox.rb', line 30

def initialize(client:)
  @client = client
  @connections = FinchAPI::Resources::Sandbox::Connections.new(client: client)
  @company = FinchAPI::Resources::Sandbox::Company.new(client: client)
  @directory = FinchAPI::Resources::Sandbox::Directory.new(client: client)
  @individual = FinchAPI::Resources::Sandbox::Individual.new(client: client)
  @employment = FinchAPI::Resources::Sandbox::Employment.new(client: client)
  @payment = FinchAPI::Resources::Sandbox::Payment.new(client: client)
  @jobs = FinchAPI::Resources::Sandbox::Jobs.new(client: client)
end

Instance Attribute Details

#companyFinchAPI::Resources::Sandbox::Company (readonly)



10
11
12
# File 'lib/finch_api/resources/sandbox.rb', line 10

def company
  @company
end

#connectionsFinchAPI::Resources::Sandbox::Connections (readonly)



7
8
9
# File 'lib/finch_api/resources/sandbox.rb', line 7

def connections
  @connections
end

#directoryFinchAPI::Resources::Sandbox::Directory (readonly)



13
14
15
# File 'lib/finch_api/resources/sandbox.rb', line 13

def directory
  @directory
end

#employmentFinchAPI::Resources::Sandbox::Employment (readonly)



19
20
21
# File 'lib/finch_api/resources/sandbox.rb', line 19

def employment
  @employment
end

#individualFinchAPI::Resources::Sandbox::Individual (readonly)



16
17
18
# File 'lib/finch_api/resources/sandbox.rb', line 16

def individual
  @individual
end

#jobsFinchAPI::Resources::Sandbox::Jobs (readonly)



25
26
27
# File 'lib/finch_api/resources/sandbox.rb', line 25

def jobs
  @jobs
end

#paymentFinchAPI::Resources::Sandbox::Payment (readonly)



22
23
24
# File 'lib/finch_api/resources/sandbox.rb', line 22

def payment
  @payment
end