Class: Cronjob::List

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

Constant Summary collapse

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

Instance Attribute Summary

Attributes inherited from Requests

#response

Instance Method Summary collapse

Methods inherited from Requests

#client, #execute, #parse

Constructor Details

#initialize(args = {}) ⇒ List

Returns a new instance of List.



6
7
8
# File 'lib/cronjob/requests/list.rb', line 6

def initialize(args = {})
  @response = execute(METHOD, ENDPOINT, args)
end