class QuiverToolbox::API::CreateNotebook

Attributes

notebook[R]
result[R]

Public Class Methods

new(name, uuid, path) click to toggle source
# File lib/quiver_toolbox/api.rb, line 8
def initialize(name, uuid, path)
  @result = nil
  @notebook = QuiverToolbox::Notebook.new do |n|
    n.name = name
    n.uuid = uuid
    n.store_path = path
  end
end

Public Instance Methods

exec() click to toggle source
# File lib/quiver_toolbox/api.rb, line 18
def exec
  self
end
store() click to toggle source
# File lib/quiver_toolbox/api.rb, line 23
def store
  @notebook.store
  @result = @notebook.file_with_path
  self
end