Class: Commands::Identify
- Inherits:
-
Object
- Object
- Commands::Identify
- Includes:
- Base
- Defined in:
- lib/lita/commands/identify.rb
Instance Method Summary collapse
Methods included from Base
#current_user, #format_incident, #format_incidents, #format_note, #format_notes, included, #initialize, #pagerduty, #response, #store
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/lita/commands/identify.rb', line 5 def call store.get_user response message: 'identify.already' rescue Exceptions::UserNotIdentified store.remember_user response message: 'identify.complete' end |