Class: Fog::Account::StormOnDemand::Real
- Inherits:
-
Object
- Object
- Fog::Account::StormOnDemand::Real
- Includes:
- StormOnDemand::RealShared
- Defined in:
- lib/fog/storm_on_demand/account.rb,
lib/fog/storm_on_demand/requests/account/create_token.rb,
lib/fog/storm_on_demand/requests/account/expire_token.rb
Constant Summary
Constants included from StormOnDemand::RealShared
StormOnDemand::RealShared::API_URL, StormOnDemand::RealShared::API_VERSION
Instance Method Summary collapse
Methods included from StormOnDemand::RealShared
#initialize, #reload, #request
Instance Method Details
#create_token(options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/fog/storm_on_demand/requests/account/create_token.rb', line 5 def create_token(={}) request( :path => '/Account/Auth/token', :body => Fog::JSON.encode(:params => ) ) end |
#expire_token(options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/fog/storm_on_demand/requests/account/expire_token.rb', line 5 def expire_token(={}) request( :path => '/Account/Auth/expireToken', :body => Fog::JSON.encode(:params => ) ) end |