Method: BitBucket::Authorization#authenticated?

Defined in:
lib/bitbucket_rest_api/authorization.rb

#authenticated?Boolean

Check whether authentication credentials are present

Returns:

  • (Boolean)

7
8
9
# File 'lib/bitbucket_rest_api/authorization.rb', line 7

def authenticated?
  basic_authed? || oauth_token?
end