Sha256: 16d782ab47b2d26446d18ea7458f15b00e330da4521042d6414153f08930cddd

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

module Exlibris
  module Aleph
    module API
      module Client
        class Record
          class Holdings < Base
            attr_reader :record_id

            def initialize(record_id, query={})
              super(query)
              @record_id = record_id
            end

            protected
            def path
              @path ||= "#{super}/record/#{record_id}/holdings"
            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/api/client/record/holdings.rb
exlibris-aleph-2.0.3 lib/exlibris/aleph/api/client/record/holdings.rb
exlibris-aleph-2.0.0 lib/exlibris/aleph/api/client/record/holdings.rb