Class: KazeClient::JobWorkflowRequest
- Inherits:
-
Utils::FinalRequest
- Object
- Request
- Utils::FinalRequest
- KazeClient::JobWorkflowRequest
- Includes:
- Utils::AuthentifiedRequest
- Defined in:
- lib/kaze_client/request/requests/jobs/job_workflow_request.rb
Overview
Request the details about a specific workflow.
Constant Summary
Constants inherited from Request
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The id of the workflow to request.
Attributes included from Utils::AuthentifiedRequest
Attributes inherited from Request
#body, #headers, #method, #query, #url
Instance Method Summary collapse
-
#initialize(id) ⇒ JobWorkflowRequest
constructor
A new instance of JobWorkflowRequest.
Methods included from Utils::AuthentifiedRequest
Methods inherited from Request
Constructor Details
#initialize(id) ⇒ JobWorkflowRequest
Returns a new instance of JobWorkflowRequest.
19 20 21 22 23 24 25 |
# File 'lib/kaze_client/request/requests/jobs/job_workflow_request.rb', line 19 def initialize(id) super(:get, "api/job_workflows/#{id}") @id = id @query = {} @filters = {} end |
Instance Attribute Details
#id ⇒ String (readonly)
Returns The id of the workflow to request.
16 17 18 |
# File 'lib/kaze_client/request/requests/jobs/job_workflow_request.rb', line 16 def id @id end |