Class: FinchAPI::Resources::Jobs
- Inherits:
-
Object
- Object
- FinchAPI::Resources::Jobs
- Defined in:
- lib/finch-api/resources/jobs.rb,
lib/finch-api/resources/jobs/manual.rb,
lib/finch-api/resources/jobs/automated.rb
Defined Under Namespace
Instance Attribute Summary collapse
- #automated ⇒ FinchAPI::Resources::Jobs::Automated readonly
- #manual ⇒ FinchAPI::Resources::Jobs::Manual readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Jobs
constructor
A new instance of Jobs.
Constructor Details
#initialize(client:) ⇒ Jobs
Returns a new instance of Jobs.
13 14 15 16 17 |
# File 'lib/finch-api/resources/jobs.rb', line 13 def initialize(client:) @client = client @automated = FinchAPI::Resources::Jobs::Automated.new(client: client) @manual = FinchAPI::Resources::Jobs::Manual.new(client: client) end |
Instance Attribute Details
#automated ⇒ FinchAPI::Resources::Jobs::Automated (readonly)
7 8 9 |
# File 'lib/finch-api/resources/jobs.rb', line 7 def automated @automated end |
#manual ⇒ FinchAPI::Resources::Jobs::Manual (readonly)
10 11 12 |
# File 'lib/finch-api/resources/jobs.rb', line 10 def manual @manual end |