Class: Exlibris::Aleph::Patron::Address
- Inherits:
-
Object
- Object
- Exlibris::Aleph::Patron::Address
- Defined in:
- lib/exlibris/aleph/patron/address.rb
Instance Attribute Summary collapse
-
#patron_id ⇒ Object
readonly
Returns the value of attribute patron_id.
Instance Method Summary collapse
- #email ⇒ Object
-
#initialize(patron_id) ⇒ Address
constructor
A new instance of Address.
- #sms_number ⇒ Object
- #want_sms ⇒ Object
- #zip ⇒ Object
Constructor Details
#initialize(patron_id) ⇒ Address
Returns a new instance of Address.
7 8 9 |
# File 'lib/exlibris/aleph/patron/address.rb', line 7 def initialize(patron_id) @patron_id = patron_id end |
Instance Attribute Details
#patron_id ⇒ Object (readonly)
Returns the value of attribute patron_id.
5 6 7 |
# File 'lib/exlibris/aleph/patron/address.rb', line 5 def patron_id @patron_id end |
Instance Method Details
#email ⇒ Object
37 38 39 |
# File 'lib/exlibris/aleph/patron/address.rb', line 37 def email @email ||= reader.email end |
#sms_number ⇒ Object
29 30 31 |
# File 'lib/exlibris/aleph/patron/address.rb', line 29 def sms_number @sms_number ||= reader.sms_number end |
#want_sms ⇒ Object
33 34 35 |
# File 'lib/exlibris/aleph/patron/address.rb', line 33 def want_sms @want_sms ||= reader.want_sms end |
#zip ⇒ Object
25 26 27 |
# File 'lib/exlibris/aleph/patron/address.rb', line 25 def zip @zip ||= reader.zip end |