class AttendanceBot::CLI

Public Class Methods

new(args = nil, options = nil, config = nil) click to toggle source
Calls superclass method
# File lib/attendance_bot/cli.rb, line 7
def initialize(args = nil, options = nil, config = nil)
  @bot = AttendanceBot::Bot.new
  super
end

Public Instance Methods

checkin() click to toggle source
# File lib/attendance_bot/cli.rb, line 13
def checkin
  @bot.checkin
end
checkout() click to toggle source
# File lib/attendance_bot/cli.rb, line 18
def checkout
  @bot.checkout
end
generate() click to toggle source
# File lib/attendance_bot/cli.rb, line 23
def generate
  AttendanceBot::Generator.start
end