Sha256: 10101be9d1ec5acb63d13e827e41ecb8ef4dd1ceabef2061a75a80f1c6a6f9a8
Contents?: true
Size: 377 Bytes
Versions: 3
Compression:
Stored size: 377 Bytes
Contents
module TrelloCli module Formatters class CardMove < Base def to_legacy if data[:success] "Card #{data[:card_id]} was succesfully moved to #{data[:list_id]}.\n" else "Error moving card." end end def to_tsv [data[:success], data[:card_id], data[:list_id]].join("\t") + "\n" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
trello_cli-0.5.0 | lib/trello_cli/formatters/card_move.rb |
trello_cli-0.4.1 | lib/trello_cli/formatters/card_move.rb |
trello_cli-0.4.0 | lib/trello_cli/formatters/card_move.rb |