Class: Exlibris::Aleph::API::Reader::Record::Item

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

Instance Attribute Summary collapse

Attributes inherited from Base

#root

Instance Method Summary collapse

Constructor Details

#initialize(root) ⇒ Item

Returns a new instance of Item.



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 13

def initialize(root)
  super(root)
  @admin_library_code = z30['translate_change_active_library']
  @sub_library_code = item['z30_sub_library_code']
  @collection_code = item['z30_collection_code']
  @status_code = item['z30_item_status_code']
  @processing_status_code = item['z30_item_process_status_code']
  @sub_library_display= z30['z30_sub_library']
  @collection_display = z30['z30_collection']
  @status_display = z30['z30_item_status']
  @processing_status_display = z30['z30_item_process_status']
  @classification = z30['z30_call_no']
  @description = z30['z30_description']
  @circulation_status_value = item['status']
  @opac_note = z30['z30_note_opac']
  @queue = item['queue']
end

Instance Attribute Details

#admin_library_codeObject (readonly)

Returns the value of attribute admin_library_code.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def admin_library_code
  @admin_library_code
end

#circulation_status_valueObject (readonly)

Returns the value of attribute circulation_status_value.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def circulation_status_value
  @circulation_status_value
end

#classificationObject (readonly)

Returns the value of attribute classification.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def classification
  @classification
end

#collection_codeObject (readonly)

Returns the value of attribute collection_code.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def collection_code
  @collection_code
end

#collection_displayObject (readonly)

Returns the value of attribute collection_display.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def collection_display
  @collection_display
end

#descriptionObject (readonly)

Returns the value of attribute description.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def description
  @description
end

#opac_noteObject (readonly)

Returns the value of attribute opac_note.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def opac_note
  @opac_note
end

#processing_status_codeObject (readonly)

Returns the value of attribute processing_status_code.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def processing_status_code
  @processing_status_code
end

#processing_status_displayObject (readonly)

Returns the value of attribute processing_status_display.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def processing_status_display
  @processing_status_display
end

#queueObject (readonly)

Returns the value of attribute queue.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def queue
  @queue
end

#status_codeObject (readonly)

Returns the value of attribute status_code.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def status_code
  @status_code
end

#status_displayObject (readonly)

Returns the value of attribute status_display.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def status_display
  @status_display
end

#sub_library_codeObject (readonly)

Returns the value of attribute sub_library_code.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def sub_library_code
  @sub_library_code
end

#sub_library_displayObject (readonly)

Returns the value of attribute sub_library_display.



7
8
9
# File 'lib/exlibris/aleph/api/reader/record/item.rb', line 7

def sub_library_display
  @sub_library_display
end