Class: Slk::Commands::Activity
- Defined in:
- lib/slk/commands/activity.rb
Overview
Displays recent activity feed items (reactions, mentions, threads) rubocop:disable Metrics/ClassLength
Instance Attribute Summary
Attributes inherited from Base
#options, #positional_args, #runner
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Slk::Commands::Base
Instance Method Details
#execute ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/slk/commands/activity.rb', line 10 def execute result = return result if result workspace = target_workspaces.first fetch_and_display_activity(workspace) rescue ApiError => e error("Failed to fetch activity: #{e.}") 1 end |