Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 public function auth($key, $secret)
 {
     Eden_Twitter_Error::i()->argument(1, 'string')->argument(2, 'string');
     return Eden_Tumblr_Oauth::i($key, $secret);
 }