Class: Exlibris::Aleph::API::Client::Patron::Record::Item::Hold

Inherits:
Base
  • Object
show all
Defined in:
lib/exlibris/aleph/api/client/patron/record/item/hold.rb

Direct Known Subclasses

CreateHold

Constant Summary

Constants inherited from Base

Base::DEFAULT_REQUEST_METHOD, Base::VALID_VIEWS

Instance Attribute Summary collapse

Attributes inherited from Base

#query

Instance Method Summary collapse

Methods inherited from Base

#error?, #reply_code, #reply_text, #root, #to_h, #to_xml

Constructor Details

#initialize(patron_id, record_id, item_id) ⇒ Hold

Returns a new instance of Hold.



11
12
13
14
15
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 11

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

Instance Attribute Details

#item_idObject (readonly)

Returns the value of attribute item_id.



9
10
11
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9

def item_id
  @item_id
end

#parametersObject (readonly)

Returns the value of attribute parameters.



9
10
11
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9

def parameters
  @parameters
end

#patron_idObject (readonly)

Returns the value of attribute patron_id.



9
10
11
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9

def patron_id
  @patron_id
end

#record_idObject (readonly)

Returns the value of attribute record_id.



9
10
11
# File 'lib/exlibris/aleph/api/client/patron/record/item/hold.rb', line 9

def record_id
  @record_id
end