Class: Tr3llo::Command::Card::ListMineCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/3llo/commands/card/list_mine.rb

Instance Method Summary collapse

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

#executeObject



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