Class: Rightscaler::Account
- Defined in:
- lib/rightscaler/account.rb
Constant Summary
Constants inherited from Resource
Class Method Summary collapse
Methods inherited from Resource
Class Method Details
.authenticate ⇒ Object
7 8 9 10 |
# File 'lib/rightscaler/account.rb', line 7 def self.authenticate = (connection.head(site.to_s + "/login", headers)) () end |
.set_auth_cookie(cookie) ⇒ Object
3 4 5 |
# File 'lib/rightscaler/account.rb', line 3 def self.() Rightscaler::Resource.headers['cookie'] = end |