class Exlibris::Aleph::Patron::Record::CirculationPolicy::Privileges

Attributes

acquisition_request[R]
booking_request[R]
hold_request[R]
ill[R]
short_loan[R]

Public Class Methods

new(privileges) click to toggle source
# File lib/exlibris/aleph/patron/record/circulation_policy/privileges.rb, line 10
def initialize(privileges)
  @hold_request = privileges.hold_request
  @short_loan = privileges.short_loan
  @ill = privileges.ill
  @booking_request = privileges.booking_request
  @acquisition_request = privileges.acquisition_request
end

Public Instance Methods

acquisition_request?() click to toggle source
# File lib/exlibris/aleph/patron/record/circulation_policy/privileges.rb, line 34
def acquisition_request?
  acquisition_request == 'Y'
end
booking_request?() click to toggle source
# File lib/exlibris/aleph/patron/record/circulation_policy/privileges.rb, line 30
def booking_request?
  booking_request == 'Y'
end
hold_request?() click to toggle source
# File lib/exlibris/aleph/patron/record/circulation_policy/privileges.rb, line 18
def hold_request?
  hold_request == 'Y'
end
ill?() click to toggle source
# File lib/exlibris/aleph/patron/record/circulation_policy/privileges.rb, line 26
def ill?
  ill == 'Y'
end
short_loan?() click to toggle source
# File lib/exlibris/aleph/patron/record/circulation_policy/privileges.rb, line 22
def short_loan?
  short_loan == 'Y'
end