Sha256: 36ed547b80cd61237a58ff9962891143ba63848350a410957d71ffa4e92d2d3b

Contents?: true

Size: 597 Bytes

Versions: 3

Compression:

Stored size: 597 Bytes

Contents

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

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

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