Module: Rubypress::Comments
- Included in:
- Client
- Defined in:
- lib/rubypress/comments.rb
Instance Method Summary collapse
- #deleteComment(options = {}) ⇒ Object
- #editComment(options = {}) ⇒ Object
- #getComment(options = {}) ⇒ Object
- #getCommentCount(options = {}) ⇒ Object
- #getComments(options = {}) ⇒ Object
- #getCommentStatusList(options = {}) ⇒ Object
- #newComment(options = {}) ⇒ Object
Instance Method Details
#deleteComment(options = {}) ⇒ Object
42 43 44 45 46 47 |
# File 'lib/rubypress/comments.rb', line 42 def deleteComment( = {}) = { :comment_id => nil }.deep_merge!() execute('deleteComment', ) end |
#editComment(options = {}) ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/rubypress/comments.rb', line 34 def editComment( = {}) = { :comment_id => nil, :comment => {} }.deep_merge!() execute('editComment', ) end |
#getComment(options = {}) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/rubypress/comments.rb', line 12 def getComment( = {}) = { :comment_id => nil }.deep_merge!() execute('getComment', ) end |
#getCommentCount(options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/rubypress/comments.rb', line 5 def getCommentCount( = {}) = { :post_id => nil }.deep_merge!() execute('getCommentCount', ) end |
#getComments(options = {}) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/rubypress/comments.rb', line 19 def getComments( = {}) = { :filter => {} }.deep_merge!() execute('getComments', ) end |
#getCommentStatusList(options = {}) ⇒ Object
49 50 51 |
# File 'lib/rubypress/comments.rb', line 49 def getCommentStatusList( = {}) execute('getCommentStatusList', ) end |
#newComment(options = {}) ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/rubypress/comments.rb', line 26 def newComment( = {}) = { :post_id => nil, :comment => {} }.deep_merge!() execute('newComment', ) end |