Method: HTTPI::Auth::Config#credentials
- Defined in:
- lib/httpi/auth/config.rb
#credentials ⇒ Object
Shortcut method for returning the credentials for the authentication specified. Returns nil unless any authentication credentials were specified.
71 72 73 74 |
# File 'lib/httpi/auth/config.rb', line 71 def credentials return unless type send type end |