Method: CloudApp::Base.authenticate
- Defined in:
- lib/cloudapp/base.rb
.authenticate(email, password) ⇒ Hash
Sets the authentication credentials in a class variable.
28 29 30 |
# File 'lib/cloudapp/base.rb', line 28 def self.authenticate(email, password) @@auth = {:username => email, :password => password} end |