Class: Ruboty::Handlers::Jobcan

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/handlers/jobcan.rb

Instance Method Summary collapse

Instance Method Details

#clock_in(message) ⇒ Object



46
47
48
# File 'lib/ruboty/handlers/jobcan.rb', line 46

def clock_in(message)
  Ruboty::Actions::Jobcan.new(message).clock_in
end

#clock_out(message) ⇒ Object



50
51
52
# File 'lib/ruboty/handlers/jobcan.rb', line 50

def clock_out(message)
  Ruboty::Actions::Jobcan.new(message).clock_out
end

#punch_clock(message) ⇒ Object



42
43
44
# File 'lib/ruboty/handlers/jobcan.rb', line 42

def punch_clock(message)
  Ruboty::Actions::Jobcan.new(message).punch_clock
end

#remember_code(message) ⇒ Object



34
35
36
# File 'lib/ruboty/handlers/jobcan.rb', line 34

def remember_code(message)
  Ruboty::Actions::Jobcan.new(message).remember_code
end

#remember_group_id(message) ⇒ Object



38
39
40
# File 'lib/ruboty/handlers/jobcan.rb', line 38

def remember_group_id(message)
  Ruboty::Actions::Jobcan.new(message).remember_group_id
end