Method: CloudApp::Client#authenticate

Defined in:
lib/cloudapp/client.rb

#authenticate(username, password) ⇒ Hash

Sets the authentication credentials in a class variable.

Parameters:

  • username (String)

    cl.ly username

  • password (String)

    cl.ly password

Returns:

  • (Hash)

    authentication credentials



63
64
65
# File 'lib/cloudapp/client.rb', line 63

def authenticate(username, password)
  Base.authenticate(username, password)
end