Sha256: 539a33fcf0c372138f5478df8584cc7497d5d1389b77ada110911de5c19d7186

Contents?: true

Size: 455 Bytes

Versions: 3

Compression:

Stored size: 455 Bytes

Contents

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