Module: Imgur::Request::Comment
- Included in:
- Client
- Defined in:
- (ruby-imgur 0.0.1) ruby-imgur/client_request.rb
Overview
Comment endpoints
Instance Method Summary collapse
-
#create_comment(body = nil) ⇒ Response::Base
Response data from
/comment
. -
#create_comment_reply(body = nil, id:) ⇒ Response::Base
Response data from
/comment/:id
. -
#delete_comment(body = nil, id:) ⇒ Response::Base
Response data from
/comment/:id
. -
#do_comment_report(body = nil, id:) ⇒ Response::Base
Response data from
/comment/:id/report
. -
#do_comment_vote(body = nil, id:, vote:) ⇒ Response::Base
Response data from
/comment/:id/vote/:vote
. -
#get_comment(body = nil, id:) ⇒ Response::Base<Model::Comment>
Response data from
/comment/:id
. -
#get_comment_replies(body = nil, id:) ⇒ Response::Base<Array<Model::Comment>>
Response data from
/comment/:id/replies
.
Instance Method Details
#create_comment(body = nil) ⇒ Response::Base
Returns response data from /comment
.
#create_comment_reply(body = nil, id:) ⇒ Response::Base
Returns response data from /comment/:id
.
#delete_comment(body = nil, id:) ⇒ Response::Base
Returns response data from /comment/:id
.
#do_comment_report(body = nil, id:) ⇒ Response::Base
Returns response data from /comment/:id/report
.
#do_comment_vote(body = nil, id:, vote:) ⇒ Response::Base
Returns response data from /comment/:id/vote/:vote
.
#get_comment(body = nil, id:) ⇒ Response::Base<Model::Comment>
Returns response data from /comment/:id
.
#get_comment_replies(body = nil, id:) ⇒ Response::Base<Array<Model::Comment>>
Returns response data from /comment/:id/replies
.