public function setOptions($options) { $this->options = $options; $this->client->setPostParams($this->options); return $this; }
/** * @expectedException Exception */ public function testNoTokenFailure() { $client = new FeedlyModel('SOMETOKEN'); $client->setEndpoint('/v3/profile'); $client->setOptions(array('email' => 'odysseus')); $client->persist(); }