Class: Forem::Services::CommentService
- Inherits:
-
BaseService
- Object
- BaseService
- Forem::Services::CommentService
- Defined in:
- lib/forem/services/comment_service.rb
Overview
Service for interacting with the Forem Comments API.
Access via Client#comments. All methods inject the client's requestor automatically so no additional configuration is required.
Instance Method Summary collapse
-
#list(params = {}, opts = {}) ⇒ Array<Comment>
List comments for an article or podcast episode.
-
#retrieve(id, opts = {}) ⇒ Comment
Retrieve a single comment by its ID.
Methods inherited from BaseService
Constructor Details
This class inherits a constructor from Forem::Services::BaseService