Class: Tr3llo::Command::Card::ListMineCommand
- Inherits:
-
Object
- Object
- Tr3llo::Command::Card::ListMineCommand
- Defined in:
- lib/3llo/commands/card/list_mine.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(board_id, user_id) ⇒ ListMineCommand
constructor
A new instance of ListMineCommand.
Constructor Details
#initialize(board_id, user_id) ⇒ ListMineCommand
Returns a new instance of ListMineCommand.
5 6 7 8 |
# File 'lib/3llo/commands/card/list_mine.rb', line 5 def initialize(board_id, user_id) @board_id = board_id @user_id = user_id end |
Instance Method Details
#execute ⇒ Object
10 11 12 13 14 |
# File 'lib/3llo/commands/card/list_mine.rb', line 10 def execute Tr3llo::Presenter::Card::ListMinePresenter .new(interface) .print!(load_cards) end |