Class: Wamupd::LeaseUpdate

Inherits:
Object
  • Object
show all
Defined in:
lib/wamupd/lease_update.rb

Overview

Struct for lease update records

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dateObject

Returns the value of attribute date.



21
22
23
# File 'lib/wamupd/lease_update.rb', line 21

def date
  @date
end

#serviceObject

Returns the value of attribute service.



22
23
24
# File 'lib/wamupd/lease_update.rb', line 22

def service
  @service
end