Class: ONIX::WorkIdentifier

Inherits:
Object
  • Object
show all
Extended by:
ListWriter
Includes:
ROXML
Defined in:
lib/onix/work_identifier.rb

Instance Method Summary collapse

Methods included from ListWriter

list_writer

Constructor Details

#initialize(options = {}) ⇒ WorkIdentifier

Returns a new instance of WorkIdentifier.



15
16
17
18
19
20
# File 'lib/onix/work_identifier.rb', line 15

def initialize(options = {})
  options.symbolize_keys!
  self.work_id_type = options[:work_id_type]
  @id_type_name = options[:id_type_name]
  @id_value = options[:id_value]
end