Module: Comments
- Included in:
- Rubypress::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
40 41 42 43 44 45 |
# File 'lib/rubypress/comments.rb', line 40 def deleteComment( = {}) = { :comment_id => nil }.deep_merge!() execute('deleteComment', ) end |
#editComment(options = {}) ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/rubypress/comments.rb', line 32 def editComment( = {}) = { :comment_id => nil, :comment => {} }.deep_merge!() execute('editComment', ) end |
#getComment(options = {}) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/rubypress/comments.rb', line 10 def getComment( = {}) = { :comment_id => nil }.deep_merge!() execute('getComment', ) end |
#getCommentCount(options = {}) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/rubypress/comments.rb', line 3 def getCommentCount( = {}) = { :post_id => nil }.deep_merge!() execute('getCommentCount', ) end |
#getComments(options = {}) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/rubypress/comments.rb', line 17 def getComments( = {}) = { :filter => {} }.deep_merge!() execute('getComments', ) end |
#getCommentStatusList(options = {}) ⇒ Object
47 48 49 |
# File 'lib/rubypress/comments.rb', line 47 def getCommentStatusList( = {}) execute('getCommentStatusList', ) end |
#newComment(options = {}) ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/rubypress/comments.rb', line 24 def newComment( = {}) = { :post_id => nil, :comment => {} }.deep_merge!() execute('newComment', ) end |