Class: Slk::Commands::Cache
Overview
Manages user and channel name cache 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 |
# File 'lib/slk/commands/cache.rb', line 10 def execute result = return result if result dispatch_action rescue ApiError => e error("Failed: #{e.}") 1 end |