Sha256: 337e7c30768e8ed0bf6b59d2035189b4b1b2940e5390a0160d50df5b182c2c58

Contents?: true

Size: 237 Bytes

Versions: 729

Compression:

Stored size: 237 Bytes

Contents

require 'puppet/indirector'

# Provide any attributes or functionality needed for indirected
# instances.
module Puppet::Indirector::Envelope
  attr_accessor :expiration

  def expired?
    expiration and expiration < Time.now
  end
end

Version data entries

729 entries across 729 versions & 6 rubygems

Version Path
puppet-6.29.0 lib/puppet/indirector/envelope.rb
puppet-6.29.0-x86-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.29.0-x64-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.29.0-universal-darwin lib/puppet/indirector/envelope.rb
puppet-6.28.0 lib/puppet/indirector/envelope.rb
puppet-6.28.0-x86-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.28.0-x64-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.28.0-universal-darwin lib/puppet/indirector/envelope.rb
puppet-6.27.0 lib/puppet/indirector/envelope.rb
puppet-6.27.0-x86-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.27.0-x64-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.27.0-universal-darwin lib/puppet/indirector/envelope.rb
puppet-6.26.0 lib/puppet/indirector/envelope.rb
puppet-6.26.0-x86-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.26.0-x64-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.26.0-universal-darwin lib/puppet/indirector/envelope.rb
puppet-6.25.1 lib/puppet/indirector/envelope.rb
puppet-6.25.1-x86-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.25.1-x64-mingw32 lib/puppet/indirector/envelope.rb
puppet-6.25.1-universal-darwin lib/puppet/indirector/envelope.rb