Class: Slk::Commands::Unread
- Includes:
- Support::UserResolver
- Defined in:
- lib/slk/commands/unread.rb
Overview
Views and manages unread messages across workspaces rubocop:disable Metrics/ClassLength
Instance Attribute Summary
Attributes inherited from Base
#options, #positional_args, #runner
Instance Method Summary collapse
Methods included from Support::UserResolver
#extract_user_from_message, #resolve_conversation_label, #resolve_dm_user_name
Methods inherited from Base
Constructor Details
This class inherits a constructor from Slk::Commands::Base
Instance Method Details
#execute ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/slk/commands/unread.rb', line 12 def execute result = return result if result dispatch_action rescue ApiError => e error("Failed: #{e.}") 1 end |