Sha256: d6fb76f16620991ab007245bbac533d57290c4e86601916a6099db9e08289b3d
Contents?: true
Size: 331 Bytes
Versions: 3
Compression:
Stored size: 331 Bytes
Contents
module TrelloCli module Requests class MoveCard include Shared def initialize connect_to_trello end def move(args) card = Trello::Card.new 'id' => args[:card_id] list = Trello::List.find args[:list_id] JSON.parse(card.move_to_list list) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
trello_cli-0.5.0 | lib/trello_cli/requests/move_card.rb |
trello_cli-0.4.1 | lib/trello_cli/requests/move_card.rb |
trello_cli-0.4.0 | lib/trello_cli/requests/move_card.rb |