lib/troo/remote/persistence/comment.rb in troo-0.0.10 vs lib/troo/remote/persistence/comment.rb in troo-0.0.11
- old
+ new
@@ -1,19 +1,26 @@
module Troo
module Remote
module Persistence
class Comment
class << self
+ # @param [String]
+ # @param []
+ # @return []
def with(external_card_id, comment)
new(external_card_id, comment).perform
end
end
+ # @param [String]
+ # @param []
+ # @return []
def initialize(external_card_id, comment)
@external_card_id = external_card_id
@comment = comment
end
+ # @return []
def perform
create_local
end
private