setOptions() публичный Метод

Sets the options from the param and defaults for the SparkPost object.
public setOptions ( array $options )
$options array - either an string API key or an array of options
Пример #1
0
 /**
  * @expectedException \Exception
  */
 public function testSetBadOptions()
 {
     NSA::setProperty($this->resource, 'options', []);
     $this->resource->setOptions(['not' => 'SPARKPOST_API_KEY']);
 }