Class: CloudApp::Base
Overview
Base class for setting HTTParty configurations globally
Class Method Summary (collapse)
-
+ (Hash) authenticate(email, password)
Sets the authentication credentials in a class variable.
Class Method Details
+ (Hash) authenticate(email, password)
Sets the authentication credentials in a class variable.
25 26 27 |
# File 'lib/cloudapp/base.rb', line 25 def self.authenticate(email, password) @@auth = {:username => email, :password => password} end |