예제 #1
0
 /**
  * Get the instance url.
  *
  * @return string
  */
 public function instanceUrl()
 {
     return is_null($this['id']) ? '/v1/account' : parent::instanceUrl();
 }
예제 #2
0
 /**
  * This is a special case because the application fee endpoint has an
  *    underscore in it. The parent `className` function strips underscores.
  *
  * @param  string  $class
  *
  * @return string
  */
 public static function className($class = '')
 {
     return parent::className();
 }