Class: Tr3llo::Command::List::CardsCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/3llo/commands/list/cards.rb

Instance Method Summary collapse

Constructor Details

#initialize(list_id) ⇒ CardsCommand

Returns a new instance of CardsCommand.



5
6
7
# File 'lib/3llo/commands/list/cards.rb', line 5

def initialize(list_id)
  @list_id = list_id
end

Instance Method Details

#executeObject



9
10
11
12
13
# File 'lib/3llo/commands/list/cards.rb', line 9

def execute
  Tr3llo::Presenter::List::CardsPresenter
    .new(interface)
    .print!(list_cards)
end