OAuth_Response
Kohana_OAuth_Response

Class Contents

Constants

  • None

Properties

  • None

Class declared in MODPATH/oauth/classes/oauth/response.php on line 3.

Methods

public __construct( )
Kohana_OAuth_Response

Source Code
public function __construct($body = NULL)
{
	if ($body)
	{
		$this->params = OAuth::parse_params($body);
	}
}

public __get( )
Kohana_OAuth_Response

Source Code
public function __get($key)
{
	return $this->$key;
}

public static factory( )
Kohana_OAuth_Response

Source Code
public static function factory($body)
{
	return new OAuth_Response($body);
}

public param( )
Kohana_OAuth_Response

Source Code
public function param($name, $default = NULL)
{
	return Arr::get($this->params, $name, $default);
}