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