Class: Cronjob::Edit

Inherits:
Requests show all
Defined in:
lib/cronjob/requests/edit.rb

Constant Summary collapse

ENDPOINT =
self.name.to_s.downcase.split('::').last
METHOD =
:patch

Instance Attribute Summary

Attributes inherited from Requests

#response

Instance Method Summary collapse

Methods inherited from Requests

#client, #execute, #parse

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