feedly\Models\FeedlyModel::setOptions PHP Method

setOptions() public method

public setOptions ( $options )
    public function setOptions($options)
    {
        $this->options = $options;
        $this->client->setPostParams($this->options);
        return $this;
    }

Usage Example

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