Sha256: ec32a2e2a5eeb451e898f1c3db72060aa33084c7670e5a6fcdd59db3a33d4c8b

Contents?: true

Size: 319 Bytes

Versions: 5

Compression:

Stored size: 319 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]
        card.move_to_list list
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trello_cli-0.3.0 lib/trello_cli/requests/move_card.rb
trello_cli-0.2.1 lib/trello_cli/requests/move_card.rb
trello_cli-0.2.0 lib/trello_cli/requests/move_card.rb
trello_cli-0.1.0 lib/trello_cli/requests/move_card.rb
trello_cli-0.0.4 lib/trello_cli/requests/move_card.rb