Sha256: f7b200b417a17a07a6d590c9d1e915113102df2da0b822df72d5fa0ee5b1392a
Contents?: true
Size: 566 Bytes
Versions: 1
Compression:
Stored size: 566 Bytes
Contents
module Troo module Commands module Add class Comment < Resource def add if created success else error_trello_error end end private def success 'New comment created.' end def error_trello_error 'Comment could not be created.' end def created @created ||= CreateComment.for(resource, value) end def resource Retrieval::Card.retrieve(id) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.8 | lib/troo/commands/add/comment.rb |