Class: Exlibris::Aleph::API::Reader::Patron::Record::Item::Hold
- Defined in:
- lib/exlibris/aleph/api/reader/patron/record/item/hold.rb
Instance Attribute Summary collapse
-
#allowed ⇒ Object
readonly
Returns the value of attribute allowed.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(root) ⇒ Hold
constructor
A new instance of Hold.
- #pickup_locations ⇒ Object
Constructor Details
Instance Attribute Details
#allowed ⇒ Object (readonly)
Returns the value of attribute allowed.
10 11 12 |
# File 'lib/exlibris/aleph/api/reader/patron/record/item/hold.rb', line 10 def allowed @allowed end |
Instance Method Details
#pickup_locations ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/exlibris/aleph/api/reader/patron/record/item/hold.rb', line 17 def pickup_locations @pickup_locations ||= pickup_location.map do |location| code = location['code'] display = location['__content__'] PickupLocation.new(code, display) end end |