Skip to content

Commit

Permalink
Minor fix over README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Unay Santisteban committed Mar 6, 2017
1 parent d39768e commit f68c1e9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The rest client will throw a `ConnectionException` if there any problem related

The available methods to work with are:

#### `->get()`
#### `get()`

Perform a GET request.

Expand All @@ -82,7 +82,7 @@ Parameters | Type | Description

**Return**: Response object (no body)

#### `->post()`
#### `post()`

Perform a POST request.

Expand All @@ -93,7 +93,7 @@ Parameters | Type | Description

**Return**: Response object

#### `->delete()`
#### `delete()`

Perform a DELETE request.

Expand All @@ -104,7 +104,7 @@ Parameters | Type | Description

**Return**: Response object

#### `->put()`
#### `put()`

Perform a PUT request.

Expand All @@ -115,7 +115,7 @@ Parameters | Type | Description

**Return**: Response object

#### `->patch()`
#### `patch()`

Perform a PATCH request.

Expand All @@ -126,25 +126,25 @@ Parameters | Type | Description

**Return**: Response object

#### `->getMetadata()`
#### `getMetadata()`

Return the metadata of the request.

**Return**: Array

#### `->getError()`
#### `getError()`

Return the last known error.

**Return**: `Error` object

#### `->getPayloads()`
#### `getPayloads()`

Return an array with the `Response` and `Request` objects.

**Return**: Array

#### `->setDecoder()`
#### `setDecoder()`

Set a new Decoder.

Expand All @@ -155,7 +155,7 @@ Parameters | Type | Description

**Return**: Rest object

#### `->setEncoder()`
#### `setEncoder()`

Set a new Encoder.

Expand All @@ -166,7 +166,7 @@ Parameters | Type | Description

**Return**: Rest object

#### `->setModule()`
#### `setModule()`

Set a new Module.

Expand All @@ -178,7 +178,7 @@ Parameters | Type | Description

**Return**: Rest object

#### `->unsetModule()`
#### `unsetModule()`

Unregister a module.

Expand All @@ -189,7 +189,7 @@ Parameters | Type | Description

**Return**: Rest object

#### `->addHeader()`
#### `addHeader()`

Add a new header.

Expand All @@ -200,7 +200,7 @@ Parameters | Type | Description

**Return**: Rest object

#### `->addHeaders()`
#### `addHeaders()`

Add an array of headers.

Expand All @@ -224,7 +224,7 @@ $api->configuration->addHeader('some_header','some_value');
$api->configuration->addHeaders(array('some_header' => 'some_value','other_header' => 'other_value'));
```

#### `->removeHeader()`
#### `removeHeader()`

Remove a header offset.

Expand All @@ -234,7 +234,7 @@ Parameters | Type | Description

**Return**: Rest object

#### `->removeHeaders()`
#### `removeHeaders()`

Remove an array of headers.

Expand Down

0 comments on commit f68c1e9

Please sign in to comment.