Method: Fog.credential=
- Defined in:
- lib/fog/core/credentials.rb
.credential=(new_credential) ⇒ Object
Assign a new credential to use from configuration file
@param [String, Symbol] new_credential name of new credential to use
@ return [Symbol] name of the new credential
9 10 11 12 |
# File 'lib/fog/core/credentials.rb', line 9 def self.credential=(new_credential) @credentials = nil @credential = new_credential && new_credential.to_sym end |