Class: Exlibris::Aleph::API::Reader::Patron::Record
- Defined in:
- lib/exlibris/aleph/api/reader/patron/record.rb,
lib/exlibris/aleph/api/reader/patron/record/item.rb,
lib/exlibris/aleph/api/reader/patron/record/item/hold.rb,
lib/exlibris/aleph/api/reader/patron/record/item/create_hold.rb
Defined Under Namespace
Classes: Item
Instance Attribute Summary collapse
-
#acquisition_request ⇒ Object
readonly
Returns the value of attribute acquisition_request.
-
#booking_request ⇒ Object
readonly
Returns the value of attribute booking_request.
-
#hold_request ⇒ Object
readonly
Returns the value of attribute hold_request.
-
#ill ⇒ Object
readonly
Returns the value of attribute ill.
-
#short_loan ⇒ Object
readonly
Returns the value of attribute short_loan.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(root) ⇒ Record
constructor
A new instance of Record.
Constructor Details
#initialize(root) ⇒ Record
Returns a new instance of Record.
11 12 13 14 15 16 17 18 |
# File 'lib/exlibris/aleph/api/reader/patron/record.rb', line 11 def initialize(root) super(root) @hold_request = privilege_for_type('HoldRequest') @short_loan = privilege_for_type('ShortLoan') @ill = privilege_for_type('ILL') @booking_request = privilege_for_type('BookingRequest') @acquisition_request = privilege_for_type('AcquisitionRequest') end |
Instance Attribute Details
#acquisition_request ⇒ Object (readonly)
Returns the value of attribute acquisition_request.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/record.rb', line 8 def acquisition_request @acquisition_request end |
#booking_request ⇒ Object (readonly)
Returns the value of attribute booking_request.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/record.rb', line 8 def booking_request @booking_request end |
#hold_request ⇒ Object (readonly)
Returns the value of attribute hold_request.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/record.rb', line 8 def hold_request @hold_request end |
#ill ⇒ Object (readonly)
Returns the value of attribute ill.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/record.rb', line 8 def ill @ill end |
#short_loan ⇒ Object (readonly)
Returns the value of attribute short_loan.
8 9 10 |
# File 'lib/exlibris/aleph/api/reader/patron/record.rb', line 8 def short_loan @short_loan end |