Sha256: 3e8c5406278093a6e53f523309740a5d58610be9f2c16936d0fc2c60c9acb26a

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 Bytes

Contents

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

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

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