Class: Tr3llo::Command::List::CardsCommand
- Inherits:
-
Object
- Object
- Tr3llo::Command::List::CardsCommand
- Defined in:
- lib/3llo/commands/list/cards.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(list_id) ⇒ CardsCommand
constructor
A new instance of CardsCommand.
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
#execute ⇒ Object
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 |