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

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

Defined Under Namespace

Classes: CreateHold, Hold

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, id) ⇒ Item

Returns a new instance of Item.



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

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end

#patron_idObject (readonly)

Returns the value of attribute patron_id.



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

def patron_id
  @patron_id
end

#record_idObject (readonly)

Returns the value of attribute record_id.



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

def record_id
  @record_id
end