Class: FinchAPI::Resources::Sandbox
- Inherits:
-
Object
- Object
- FinchAPI::Resources::Sandbox
- 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
- #company ⇒ FinchAPI::Resources::Sandbox::Company readonly
- #connections ⇒ FinchAPI::Resources::Sandbox::Connections readonly
- #directory ⇒ FinchAPI::Resources::Sandbox::Directory readonly
- #employment ⇒ FinchAPI::Resources::Sandbox::Employment readonly
- #individual ⇒ FinchAPI::Resources::Sandbox::Individual readonly
- #jobs ⇒ FinchAPI::Resources::Sandbox::Jobs readonly
- #payment ⇒ FinchAPI::Resources::Sandbox::Payment readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Sandbox
constructor
A new instance of Sandbox.
Constructor Details
#initialize(client:) ⇒ Sandbox
Returns a new instance of Sandbox.
28 29 30 31 32 33 34 35 36 37 |
# File 'lib/finch-api/resources/sandbox.rb', line 28 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
#company ⇒ FinchAPI::Resources::Sandbox::Company (readonly)
10 11 12 |
# File 'lib/finch-api/resources/sandbox.rb', line 10 def company @company end |
#connections ⇒ FinchAPI::Resources::Sandbox::Connections (readonly)
7 8 9 |
# File 'lib/finch-api/resources/sandbox.rb', line 7 def connections @connections end |
#directory ⇒ FinchAPI::Resources::Sandbox::Directory (readonly)
13 14 15 |
# File 'lib/finch-api/resources/sandbox.rb', line 13 def directory @directory end |
#employment ⇒ FinchAPI::Resources::Sandbox::Employment (readonly)
19 20 21 |
# File 'lib/finch-api/resources/sandbox.rb', line 19 def employment @employment end |
#individual ⇒ FinchAPI::Resources::Sandbox::Individual (readonly)
16 17 18 |
# File 'lib/finch-api/resources/sandbox.rb', line 16 def individual @individual end |
#jobs ⇒ FinchAPI::Resources::Sandbox::Jobs (readonly)
25 26 27 |
# File 'lib/finch-api/resources/sandbox.rb', line 25 def jobs @jobs end |
#payment ⇒ FinchAPI::Resources::Sandbox::Payment (readonly)
22 23 24 |
# File 'lib/finch-api/resources/sandbox.rb', line 22 def payment @payment end |