/** * Returns tumblr auth method * * @param *string * @param *string * @return Eden_Tumblr_Oauth */ public function auth($key, $secret) { //Argument test Eden_Tumblr_Error::i()->argument(1, 'string')->argument(2, 'string'); //Argument 2 must be a string return Eden_Tumblr_Oauth::i($key, $secret); }
public function auth($key, $secret) { Eden_Twitter_Error::i()->argument(1, 'string')->argument(2, 'string'); return Eden_Tumblr_Oauth::i($key, $secret); }