Class: Lita::Commands::AccountSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/lita/commands/account_summary.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



6
7
8
# File 'lib/lita/commands/account_summary.rb', line 6

def name
  'account-summary'
end

#run(robot, target, gateway, opts = {}) ⇒ Object



10
11
12
13
# File 'lib/lita/commands/account_summary.rb', line 10

def run(robot, target, gateway, opts = {})
  msg = build_msg(gateway)
  robot.send_message(target, msg)
end