Module: Puppet::Indirector::Envelope
- Defined in:
- lib/puppet/indirector/envelope.rb
Overview
Provide any attributes or functionality needed for indirected instances.
Instance Attribute Summary collapse
-
#expiration ⇒ Object
Returns the value of attribute expiration.
Instance Method Summary collapse
Instance Attribute Details
#expiration ⇒ Object
Returns the value of attribute expiration.
6 7 8 |
# File 'lib/puppet/indirector/envelope.rb', line 6 def expiration @expiration end |
Instance Method Details
#expired? ⇒ Boolean
8 9 10 |
# File 'lib/puppet/indirector/envelope.rb', line 8 def expired? expiration and expiration < Time.now end |