Class: QuiverToolbox::CLI::Notebook
- Inherits:
-
Thor
- Object
- Thor
- QuiverToolbox::CLI::Notebook
- Defined in:
- lib/quiver_toolbox/cli/notebook.rb
Instance Attribute Summary collapse
-
#api ⇒ Object
readonly
Returns the value of attribute api.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#api ⇒ Object (readonly)
Returns the value of attribute api.
9 10 11 |
# File 'lib/quiver_toolbox/cli/notebook.rb', line 9 def api @api end |
Class Method Details
.exit_on_failure? ⇒ Boolean
4 5 6 |
# File 'lib/quiver_toolbox/cli/notebook.rb', line 4 def exit_on_failure? true end |
Instance Method Details
#create(name) ⇒ Object
14 15 16 17 18 |
# File 'lib/quiver_toolbox/cli/notebook.rb', line 14 def create(name) @api = QuiverToolbox::API::CreateNotebook.new(name, ['uuid'], ['path']) @api.exec.store self end |