Class: Cloudq::Publish
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Cloudq::Base
Instance Method Details
#job(klass, *args) ⇒ Object
7 8 9 10 |
# File 'lib/cloudq/publish.rb', line 7 def job(klass, *args) jsonized_job = jsonize(:job => { :klass => klass, :args => args}) post(jsonized_job) end |