Exemplo n.º 1
0
 /**
  * Get the instance url.
  *
  * @return string
  */
 public function instanceUrl()
 {
     return is_null($this['id']) ? '/v1/account' : parent::instanceUrl();
 }
Exemplo n.º 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();
 }