Class: Cronjob::Create
- Defined in:
- lib/cronjob/requests/create.rb
Constant Summary collapse
- ENDPOINT =
I could name that class New but we will have New.new wich is weird
'new'- METHOD =
:post
Instance Attribute Summary
Attributes inherited from Requests
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Create
constructor
A new instance of Create.
Methods inherited from Requests
Constructor Details
#initialize(args = {}) ⇒ Create
Returns a new instance of Create.
6 7 8 |
# File 'lib/cronjob/requests/create.rb', line 6 def initialize(args = {}) @response = execute(METHOD, ENDPOINT, args) end |