Class: Exlibris::Aleph::API::Reader::Patron::Status
- Defined in:
- lib/exlibris/aleph/api/reader/patron/status.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#display ⇒ Object
readonly
Returns the value of attribute display.
-
#expiration_date ⇒ Object
readonly
Returns the value of attribute expiration_date.
-
#institution_code ⇒ Object
readonly
Returns the value of attribute institution_code.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(root) ⇒ Status
constructor
A new instance of Status.
Constructor Details
#initialize(root) ⇒ Status
Returns a new instance of Status.
11 12 13 14 15 16 17 18 |
# File 'lib/exlibris/aleph/api/reader/patron/status.rb', line 11 def initialize(root) super(root) @code = institution['z305_bor_status_code'] @display = institution['z305_bor_status'] @type = institution['z305_bor_type'] @expiration_date = institution['z305_expiry_date'] @institution_code = institution['code'] end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/status.rb', line 8 def code @code end |
#display ⇒ Object (readonly)
Returns the value of attribute display.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/status.rb', line 8 def display @display end |
#expiration_date ⇒ Object (readonly)
Returns the value of attribute expiration_date.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/status.rb', line 8 def expiration_date @expiration_date end |
#institution_code ⇒ Object (readonly)
Returns the value of attribute institution_code.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/status.rb', line 8 def institution_code @institution_code end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/status.rb', line 8 def type @type end |