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.
8 9 10 |
# File 'lib/puppet/indirector/envelope.rb', line 8 def expiration @expiration end |
Instance Method Details
#expired? ⇒ Boolean
10 11 12 |
# File 'lib/puppet/indirector/envelope.rb', line 10 def expired? expiration and expiration < Time.now end |