Sha256: 1a84c5148653651b0eb8c94bdf048b057c0179fae3b41287ec27395294d8928b

Contents?: true

Size: 722 Bytes

Versions: 3

Compression:

Stored size: 722 Bytes

Contents

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

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

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