Class: Chute::V2::Comments
- Inherits:
-
Object
- Object
- Chute::V2::Comments
- Defined in:
- lib/chute/v2/comments.rb
Class Method Summary collapse
-
.all(album_id, asset_id) ⇒ Object
Assets Comments.
-
.create(album_id, asset_id, comment = {}) ⇒ Object
Comment params Params comment_text name email.
- .delete(comment_id) ⇒ Object
Class Method Details
.all(album_id, asset_id) ⇒ Object
Assets Comments
7 8 9 |
# File 'lib/chute/v2/comments.rb', line 7 def all(album_id, asset_id) Chute::Client.get("/v2/albums/#{album_id}/assets/#{asset_id}/comments") end |