Sha256: 2e24be15e7973e2e597ad9d7e5c0d0841a7c2ba8852de3e2aec12ea6e717dd09

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

module Exlibris
  module Aleph
    module API
      module Client
        class Record
          class Item < 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}/items/#{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/item.rb
exlibris-aleph-2.0.3 lib/exlibris/aleph/api/client/record/item.rb
exlibris-aleph-2.0.0 lib/exlibris/aleph/api/client/record/item.rb