Sha256: 94e7d1dd961b7c47d338be8f8b08a51137dd16c63a5d071c02c2a2df4e65b127

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

module Exlibris
  module Aleph
    class Patron
      class Record
        class CirculationPolicy
          attr_reader :privileges

          def initialize(privileges)
            unless privileges.is_a?(Privileges)
              raise ArgumentError.new("Expecting #{privileges} to be a Privileges")
            end
            @privileges = privileges
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
exlibris-aleph-2.0.4 lib/exlibris/aleph/patron/record/circulation_policy.rb
exlibris-aleph-2.0.3 lib/exlibris/aleph/patron/record/circulation_policy.rb
exlibris-aleph-2.0.0 lib/exlibris/aleph/patron/record/circulation_policy.rb