Sha256: 03ffc636d60fc2d1c16304d6190df398146f922d7c085ea78721cc2f5aab8b26
Contents?: true
Size: 333 Bytes
Versions: 3
Compression:
Stored size: 333 Bytes
Contents
module TrelloCli module Formatters class CardCreate < Base def to_legacy msg = "Card Created.\n" msg << "Name : #{data[:name]}\n" msg << "Description : #{data[:desc]}\n" end def to_tsv [data[:id], data[:name], data[:desc]].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_create.rb |
trello_cli-0.4.1 | lib/trello_cli/formatters/card_create.rb |
trello_cli-0.4.0 | lib/trello_cli/formatters/card_create.rb |