Module: Tr3llo::Command::Card::Comments
Instance Method Summary collapse
Instance Method Details
#execute(key) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/3llo/command/card/comments.rb', line 7 def execute(key) card_id = Entities.parse_id(:card, key) assert_card_id!(card_id, key) comments = API::Card.list_comments(card_id) interface = Application.fetch_interface!() interface.print_frame do interface.puts(View::Card::Comments.render(comments)) end end |