Class: Exlibris::Aleph::API::Reader::Patron::Address

Inherits:
Base
  • Object
show all
Defined in:
lib/exlibris/aleph/api/reader/patron/address.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#root

Instance Method Summary collapse

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

#address1Object (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

#address2Object (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

#address3Object (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

#address4Object (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

#address5Object (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

#emailObject (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_numberObject (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

#telephone1Object (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

#telephone2Object (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

#telephone3Object (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

#telephone4Object (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_smsObject (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

#zipObject (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