Class: Exlibris::Aleph::API::Reader::Patron::Address
- Defined in:
- lib/exlibris/aleph/api/reader/patron/address.rb
Instance Attribute Summary collapse
-
#address1 ⇒ Object
readonly
Returns the value of attribute address1.
-
#address2 ⇒ Object
readonly
Returns the value of attribute address2.
-
#address3 ⇒ Object
readonly
Returns the value of attribute address3.
-
#address4 ⇒ Object
readonly
Returns the value of attribute address4.
-
#address5 ⇒ Object
readonly
Returns the value of attribute address5.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#sms_number ⇒ Object
readonly
Returns the value of attribute sms_number.
-
#telephone1 ⇒ Object
readonly
Returns the value of attribute telephone1.
-
#telephone2 ⇒ Object
readonly
Returns the value of attribute telephone2.
-
#telephone3 ⇒ Object
readonly
Returns the value of attribute telephone3.
-
#telephone4 ⇒ Object
readonly
Returns the value of attribute telephone4.
-
#want_sms ⇒ Object
readonly
Returns the value of attribute want_sms.
-
#zip ⇒ Object
readonly
Returns the value of attribute zip.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(root) ⇒ Address
constructor
A new instance of Address.
Constructor Details
#initialize(root) ⇒ Address
Returns a new instance of Address.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 12 def initialize(root) super(root) @address1 = z304_address_1['__content__'] @address2 = z304_address_2['__content__'] @address3 = z304_address_3['__content__'] @address4 = z304_address_4['__content__'] @address5 = z304_address_5['__content__'] @telephone1 = z304_telephone_1['__content__'] @telephone2 = z304_telephone_2['__content__'] @telephone3 = z304_telephone_3['__content__'] @telephone4 = z304_telephone_4['__content__'] @zip = z304_zip['__content__'] @sms_number = z304_sms_number['__content__'] @want_sms = z303_want_sms['__content__'] @email = z304_email_address['__content__'] end |
Instance Attribute Details
#address1 ⇒ Object (readonly)
Returns the value of attribute address1.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def address1 @address1 end |
#address2 ⇒ Object (readonly)
Returns the value of attribute address2.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def address2 @address2 end |
#address3 ⇒ Object (readonly)
Returns the value of attribute address3.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def address3 @address3 end |
#address4 ⇒ Object (readonly)
Returns the value of attribute address4.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def address4 @address4 end |
#address5 ⇒ Object (readonly)
Returns the value of attribute address5.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def address5 @address5 end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def email @email end |
#sms_number ⇒ Object (readonly)
Returns the value of attribute sms_number.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def sms_number @sms_number end |
#telephone1 ⇒ Object (readonly)
Returns the value of attribute telephone1.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def telephone1 @telephone1 end |
#telephone2 ⇒ Object (readonly)
Returns the value of attribute telephone2.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def telephone2 @telephone2 end |
#telephone3 ⇒ Object (readonly)
Returns the value of attribute telephone3.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def telephone3 @telephone3 end |
#telephone4 ⇒ Object (readonly)
Returns the value of attribute telephone4.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def telephone4 @telephone4 end |
#want_sms ⇒ Object (readonly)
Returns the value of attribute want_sms.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def want_sms @want_sms end |
#zip ⇒ Object (readonly)
Returns the value of attribute zip.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/address.rb', line 8 def zip @zip end |