Sha256: 50d92171e20d72d714e80be8db19602ec2e86c147e09daab891b03a148383408

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

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

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

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