lib/pupil/account.rb in pupil-0.2.1 vs lib/pupil/account.rb in pupil-0.2.2

- old
+ new

@@ -1,12 +1,14 @@ class Pupil # Verify credentials # @return [Pupil::User] User credentials def verify_credentials - response = self.get("/account/verify_credentials.json") + response = self.get("/1/account/verify_credentials.json") user = User.new response return user end + + alias_method :profile, :verify_credentials # Rate limit statuses # @return [Hash] Rate limit statuses def rate_limit response = self.get("/account/rate_limit_status.json") \ No newline at end of file