public function getUserInfo($userId = null, array $opts = array()) { $options = http_build_query($opts); if (is_null($userId)) { $userId = 'me'; } return $this->askAsana($this->userUrl . '/' . $userId . '?' . $options); }