Sha256: 5a28e99ddfc928dbe87f18f36e9269c76aa07d0437627ad3f3ca7b05a7b49560

Contents?: true

Size: 548 Bytes

Versions: 3

Compression:

Stored size: 548 Bytes

Contents

module Exlibris
  module Aleph
    class Patron
      class Record
        class Item
          class CirculationPolicy
            attr_reader :privileges, :pickup_locations

            def initialize(privileges, *pickup_locations)
              unless privileges.is_a?(Privileges)
                raise ArgumentError.new("Expecting #{privileges} to be a Privileges")
              end
              @privileges = privileges
              @pickup_locations = pickup_locations
            end
          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/item/circulation_policy.rb
exlibris-aleph-2.0.3 lib/exlibris/aleph/patron/record/item/circulation_policy.rb
exlibris-aleph-2.0.0 lib/exlibris/aleph/patron/record/item/circulation_policy.rb