Class: Cronjob::Show

Inherits:
Requests show all
Defined in:
lib/cronjob/requests/show.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 = {}) ⇒ Show

Returns a new instance of Show.



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

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