module Freefeed::V1::Comments
Public Instance Methods
create_comment(comment)
click to toggle source
# File lib/freefeed/v1/comments.rb, line 8 def create_comment(comment) authenticated_request(:post, "/v1/comments", json: comment) end
delete_comment(id)
click to toggle source
# File lib/freefeed/v1/comments.rb, line 16 def delete_comment(id) authenticated_request(:delete, "/v1/comments/#{id}") end
update_comment(id, comment)
click to toggle source
# File lib/freefeed/v1/comments.rb, line 12 def update_comment(id, comment) authenticated_request(:put, "/v1/comments/#{id}", json: comment) end