class Focuzo

Public Class Methods

new(output) click to toggle source
# File lib/focuzo.rb, line 6
def initialize(output)
  @output = output
end

Public Instance Methods

api() click to toggle source
# File lib/focuzo.rb, line 26
def api
  @api ||= API.instance
end
close(_notification) click to toggle source
# File lib/focuzo.rb, line 18
def close(_notification)
  set(:finished)
end
example_failed(_notification) click to toggle source
# File lib/focuzo.rb, line 14
def example_failed(_notification)
  set(:failed)
end
set(status) click to toggle source
# File lib/focuzo.rb, line 22
def set(status)
  api.send(status)
end
start(_notification) click to toggle source
# File lib/focuzo.rb, line 10
def start(_notification)
  set(:started)
end