Class: Eien::Apps::CreateTask
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#spec_namespace ⇒ Object
readonly
Returns the value of attribute spec_namespace.
Attributes inherited from Task
#context, #namespace, #task_config
Instance Method Summary collapse
-
#initialize(context, name, namespace) ⇒ CreateTask
constructor
A new instance of CreateTask.
- #run! ⇒ Object
Methods included from Helpers::TimeHelpers
Constructor Details
#initialize(context, name, namespace) ⇒ CreateTask
Returns a new instance of CreateTask.
8 9 10 11 12 |
# File 'lib/eien/apps/create_task.rb', line 8 def initialize(context, name, namespace) @name = name @spec_namespace = namespace super(context, nil) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/eien/apps/create_task.rb', line 6 def name @name end |
#spec_namespace ⇒ Object (readonly)
Returns the value of attribute spec_namespace.
6 7 8 |
# File 'lib/eien/apps/create_task.rb', line 6 def spec_namespace @spec_namespace end |
Instance Method Details
#run! ⇒ Object
14 15 16 17 |
# File 'lib/eien/apps/create_task.rb', line 14 def run! create_app! ensure_namespace! end |