Sha256: 3f140b2379781b0041ed2063b19581c70050f59688584e65ed9598eba21efbba

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

module Fog
  module Account
    class StormOnDemand
      class Token < Fog::Model
        attribute :token
        attribute :expires

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-storm_on_demand-0.1.0 lib/fog/account/storm_on_demand/models/token.rb
fog-storm_on_demand-0.0.1 lib/fog/account/storm_on_demand/models/token.rb