Class: Scale::Callbacks::Task
Instance Attribute Summary collapse
-
#task ⇒ Object
readonly
Returns the value of attribute task.
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(json) ⇒ Task
constructor
A new instance of Task.
Methods inherited from Base
Constructor Details
#initialize(json) ⇒ Task
Returns a new instance of Task.
6 7 8 9 |
# File 'lib/scale/callbacks/task.rb', line 6 def initialize(json) super build_task end |
Instance Attribute Details
#task ⇒ Object (readonly)
Returns the value of attribute task.
4 5 6 |
# File 'lib/scale/callbacks/task.rb', line 4 def task @task end |
Class Method Details
.shortcut ⇒ Object
11 12 13 |
# File 'lib/scale/callbacks/task.rb', line 11 def self.shortcut 'task' end |