Method: BitBucket::Authorization#basic_authed?
- Defined in:
- lib/bitbucket_rest_api/authorization.rb
#basic_authed? ⇒ Boolean
Check whether basic authentication credentials are present
12 13 14 |
# File 'lib/bitbucket_rest_api/authorization.rb', line 12 def basic_authed? basic_auth? || (login? && password?) end |