Class: Wamupd::LeaseUpdate
- Inherits:
-
Object
- Object
- Wamupd::LeaseUpdate
- Defined in:
- lib/wamupd/lease_update.rb
Overview
Struct for lease update records
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#service ⇒ Object
Returns the value of attribute service.
Instance Method Summary collapse
-
#initialize(date, service) ⇒ LeaseUpdate
constructor
A new instance of LeaseUpdate.
Constructor Details
#initialize(date, service) ⇒ LeaseUpdate
Returns a new instance of LeaseUpdate.
24 25 26 27 |
# File 'lib/wamupd/lease_update.rb', line 24 def initialize(date, service) @date = date @service = service end |
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
21 22 23 |
# File 'lib/wamupd/lease_update.rb', line 21 def date @date end |
#service ⇒ Object
Returns the value of attribute service.
22 23 24 |
# File 'lib/wamupd/lease_update.rb', line 22 def service @service end |