Class: Fog::Account::StormOnDemand::Token

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/account/storm_on_demand/models/token.rb

Instance Method Summary collapse

Instance Method Details

#expireObject



8
9
10
# File 'lib/fog/account/storm_on_demand/models/token.rb', line 8

def expire
  service.expire_token.body["expired"].to_i == 1 ? true : false
end