Comments

# What

Adding comment functionality

Comments
=====

Comments are the redbooth resources containing the `Task` and `Conversation` Content.
It also contains the information about the task status changes, assigned changes and due_data changes.

To consume the comments endpoint you allways need to provide a `target_type` and `target_id`. This is needed for performance reasons.

Lists comments in your visibility scope

```Ruby
  comment_collection = client.comment(:index, target_type: 'task', target_id: 123)
  comments = comment_collection.all
```

You can also filter by multiple params (see docs [here](https://redbooth.com/api/api-docs/#page:comments,header:comments-commnets-list) )

```Ruby
  filtered_comments = client.comment(:index, order: 'id-DESC',
                                             per_page: 50,
                                             project_id: 123,
                                             target_type: 'task',
                                             target_id: 123)
```

Fetch a specific comment

```Ruby
  comment = client.comment(:show, id: 123)
```

Update a specific comment

```Ruby
  comment = client.comment(:update, id: 123, body: 'new body content')
```

Delete a specific comment

```Ruby
  client.comment(:delete, id: 123)
```
In these cases, I don't see the point of using implicit subject if we treat it explicitly.