Skip to content

Commit 3714dd1

Browse files
authored
Merge pull request #41 from Bandwidth/DX-640
Dx 640
2 parents 064e1d4 + fd83445 commit 3714dd1

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist: trusty
12
language: php
23
php:
34
- '5.5'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ PHP Client library for Bandwidth's Phone Number Dashboard (AKA: Dashboard, Iris)
99
| 2.0.0 | Fixed incompatibilities with Bandwidth's Dashboard API Create Site function that required breaking changes. Versions less than 2.0.0 are not guaranteed to work with Bandwidth's Dashboard API. |
1010
| 2.0.1 | Added `ActualFocDate` to Portins model |
1111
| 2.0.2 | Fixed HTTP method for `set_tn_options` to `PUT` |
12+
| 2.0.3 | Fixed HTTP request for `set_tn_options` to the correct XML object |
1213

1314
## Supported PHP Versions
1415

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Bandwidth's Iris SDK for PHP",
55
"keywords": ["iris","sdk","php"],
66
"homepage": "http://dev.bandwidth.com",
7-
"reference": "v2.0.2",
7+
"reference": "v2.0.3",
88
"license": "MIT",
99
"authors": [
1010
],

src/Tns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function set_tn_options($data) {
200200

201201
if(!($this->parent->parent instanceof Sippeer))
202202
throw new \Exception("You should get TN from sippeer");
203-
parent::put($this->get_id(), "SipPeerTelephoneNumbers", $data->to_array());
203+
parent::put($this->get_id(), "SipPeerTelephoneNumber", $data->to_array());
204204
}
205205

206206
public function ratecenter() {

0 commit comments

Comments
 (0)