Sha256: b4a1ae60d696a9fce2f2258cc5c21d793220172d14c8aa9aaba4cb43c41e5653

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

module Exlibris
  module Aleph
    module API
      module Client
        class Record
          class Holding < Base
            attr_reader :record_id, :id

            def initialize(record_id, id)
              @record_id = record_id
              @id = id
            end

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