Add a comment to the file.
Returns:
The created comment.
57 58 59 60 61
# File 'lib/box/file.rb', line 57 def add_comment(message) response = @api.add_comment(type, id, message) Comment.create(@api, response['comment']).first end