Class: Cronjob::Edit
Constant Summary collapse
- ENDPOINT =
self.name.to_s.downcase.split('::').last
- METHOD =
:patch
Instance Attribute Summary
Attributes inherited from Requests
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Edit
constructor
A new instance of Edit.
Methods inherited from Requests
Constructor Details
#initialize(args = {}) ⇒ Edit
Returns a new instance of Edit.
6 7 8 |
# File 'lib/cronjob/requests/edit.rb', line 6 def initialize(args = {}) @response = execute(METHOD, ENDPOINT, args) end |