Class: KazeClient::JobDocumentRequest
- Inherits:
-
Utils::FinalRequest
- Object
- Request
- Utils::FinalRequest
- KazeClient::JobDocumentRequest
- Includes:
- Utils::AuthentifiedRequest
- Defined in:
- lib/kaze_client/request/requests/jobs/job_document_request.rb
Overview
Retrieve a job document from a job.
Constant Summary
Constants inherited from Request
Instance Attribute Summary
Attributes included from Utils::AuthentifiedRequest
Attributes inherited from Request
#body, #headers, #method, #query, #url
Instance Method Summary collapse
-
#initialize(job_id, job_document_id) ⇒ JobDocumentRequest
constructor
A new instance of JobDocumentRequest.
Methods included from Utils::AuthentifiedRequest
Methods inherited from Request
Constructor Details
#initialize(job_id, job_document_id) ⇒ JobDocumentRequest
Returns a new instance of JobDocumentRequest.
15 16 17 |
# File 'lib/kaze_client/request/requests/jobs/job_document_request.rb', line 15 def initialize(job_id, job_document_id) super(:get, "api/jobs/#{job_id}/documents/#{job_document_id}") end |