Sha256: 6be6541fee2bbeb13c37d6d8bc7e199543a9d9fcab4e0a2a8ae3de80603bfe64
Contents?: true
Size: 377 Bytes
Versions: 1
Compression:
Stored size: 377 Bytes
Contents
module DesignerNews class Client module Comments def comment(comment_id) get "comments/#{comment_id}" end def upvote_comment(comment_id) post "comments/#{comment_id}/upvote" end def reply_to_comment(comment_id, comment) post "comments/#{comment_id}/reply", { comment: { body: comment } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dn-0.1.0 | lib/designer_news/client/comments.rb |