Method: CloudApp::Base.authenticate

Defined in:
lib/cloudapp/base.rb

.authenticate(email, password) ⇒ Hash

Sets the authentication credentials in a class variable.

Parameters:

  • email (String)

    cl.ly email

  • password (String)

    cl.ly password

Returns:

  • (Hash)

    authentication credentials



28
29
30
# File 'lib/cloudapp/base.rb', line 28

def self.authenticate(email, password)
  @@auth = {:username => email, :password => password}
end