Class: Troo::Commands::RefreshAll

Inherits:
Object
  • Object
show all
Defined in:
lib/troo/cli/commands/refresh/all.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.dispatchString

Returns:

  • (String)


5
6
7
# File 'lib/troo/cli/commands/refresh/all.rb', line 5

def self.dispatch
  new.refresh_all
end

Instance Method Details

#refresh_allString

Returns:

  • (String)


10
11
12
13
# File 'lib/troo/cli/commands/refresh/all.rb', line 10

def refresh_all
  return success if refreshed?
  failure
end