Class: FinchAPI::Resources::Jobs::Manual
- Inherits:
-
Object
- Object
- FinchAPI::Resources::Jobs::Manual
- Defined in:
- lib/finch_api/resources/jobs/manual.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ Manual
constructor
private
A new instance of Manual.
-
#retrieve(job_id, entity_id: nil, request_options: {}) ⇒ FinchAPI::Models::Jobs::ManualAsyncJob
Some parameter documentations has been truncated, see Models::Jobs::ManualRetrieveParams for more details.
Constructor Details
#initialize(client:) ⇒ Manual
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 Manual.
38 39 40 |
# File 'lib/finch_api/resources/jobs/manual.rb', line 38 def initialize(client:) @client = client end |
Instance Method Details
#retrieve(job_id, entity_id: nil, request_options: {}) ⇒ FinchAPI::Models::Jobs::ManualAsyncJob
Some parameter documentations has been truncated, see Models::Jobs::ManualRetrieveParams for more details.
Get a manual job by ‘job_id`. Manual jobs are completed by a human and include Assisted Benefits jobs.
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/finch_api/resources/jobs/manual.rb', line 24 def retrieve(job_id, params = {}) parsed, = FinchAPI::Jobs::ManualRetrieveParams.dump_request(params) @client.request( method: :get, path: ["jobs/manual/%1$s", job_id], query: parsed, model: FinchAPI::Jobs::ManualAsyncJob, options: ) end |