instanceUrl() . '/phone_numbers'; list($response, $opts) = $this->_request('get', $url, $params, $options); $this->refreshFrom($response, $opts); return $this; } /** * @param array|null $params * @param array|string|null $options * * @return List all short codes associated with a messaging profile. */ public function short_codes($params = null, $options = null) { $url = $this->instanceUrl() . '/short_codes'; list($response, $opts) = $this->_request('get', $url, $params, $options); $this->refreshFrom($response, $opts); return $this; } /** * @param array|null $params * @param array|string|null $options * * @return List all sender IDs associated with a messaging profile. */ public function alphanumeric_sender_ids($params = null, $options = null) { $url = $this->instanceUrl() . '/alphanumeric_sender_ids'; list($response, $opts) = $this->_request('get', $url, $params, $options); $this->refreshFrom($response, $opts); return $this; } }