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
private
A new instance of Jobs.
Constructor Details
#initialize(client:) ⇒ Jobs
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 Jobs.
15 16 17 18 19 |
# File 'lib/finch_api/resources/jobs.rb', line 15 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 |