Class: Troo::CLI::Refresh

Inherits:
ThorFixes show all
Defined in:
lib/troo/cli/refresh.rb

Instance Method Summary collapse

Methods inherited from ThorFixes

banner

Instance Method Details

#allString

Returns:

  • (String)


7
8
# File 'lib/troo/cli/refresh.rb', line 7

desc 'all',
'Refresh all the local data.'

#board(id = nil) ⇒ Object



17
18
19
# File 'lib/troo/cli/refresh.rb', line 17

def board(id = nil)
  say Commands::Refresh.dispatch(Troo::Board, id)
end

#card(id = nil) ⇒ Object



25
26
27
# File 'lib/troo/cli/refresh.rb', line 25

def card(id = nil)
  say Commands::Refresh.dispatch(Troo::Card, id)
end

#list(id = nil) ⇒ Object



33
34
35
# File 'lib/troo/cli/refresh.rb', line 33

def list(id = nil)
  say Commands::Refresh.dispatch(Troo::List, id)
end