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)
```
nice recommend @sauloperez. First iteration is about covering all the API endpoints the same way  they work in the Redbooth API. Once we get over there we can think how to make the client more usabe (relationable objects? hypermedia? let's see)