Class: KazeClient::UpdateTemplateRequest
- Inherits:
-
KazeClient::Utils::FinalRequest
- Object
- Request
- KazeClient::Utils::FinalRequest
- KazeClient::UpdateTemplateRequest
- Includes:
- KazeClient::Utils::AuthentifiedRequest
- Defined in:
- lib/kaze_client/request/requests/jobs/update_template_request.rb
Overview
Update data of the given template on the given job.
Constant Summary
Constants inherited from Request
Instance Attribute Summary
Attributes included from KazeClient::Utils::AuthentifiedRequest
Attributes inherited from Request
#body, #headers, #method, #query, #url
Instance Method Summary collapse
-
#initialize(id, template_id, body) ⇒ UpdateTemplateRequest
constructor
A new instance of UpdateTemplateRequest.
Methods included from KazeClient::Utils::AuthentifiedRequest
Methods inherited from Request
Constructor Details
#initialize(id, template_id, body) ⇒ UpdateTemplateRequest
Returns a new instance of UpdateTemplateRequest.
15 16 17 18 19 |
# File 'lib/kaze_client/request/requests/jobs/update_template_request.rb', line 15 def initialize(id, template_id, body) super(:put, "api/performer/jobs/#{id}/templates/#{template_id}") @body = body end |