class Pohoda::Parsers::Stk::SerialNumberItemType
Public Instance Methods
count()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 23 def count at 'stk:count' end
count_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 27 def count_attributes attributes_at 'stk:count' end
expiration()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 31 def expiration at 'stk:expiration' end
expiration_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 35 def expiration_attributes attributes_at 'stk:expiration' end
id()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 7 def id at 'stk:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 11 def id_attributes attributes_at 'stk:id' end
note()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 39 def note at 'stk:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 43 def note_attributes attributes_at 'stk:note' end
serial_number()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 15 def serial_number at 'stk:serialNumber' end
serial_number_attributes()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 19 def serial_number_attributes attributes_at 'stk:serialNumber' end
to_h()
click to toggle source
# File lib/pohoda/parsers/stk/serial_number_item_type.rb, line 47 def to_h hash = {} hash[:attributes] = attributes hash[:id] = id if has? 'stk:id' hash[:id_attributes] = id_attributes if has? 'stk:id' hash[:serial_number] = serial_number if has? 'stk:serialNumber' hash[:serial_number_attributes] = serial_number_attributes if has? 'stk:serialNumber' hash[:count] = count if has? 'stk:count' hash[:count_attributes] = count_attributes if has? 'stk:count' hash[:expiration] = expiration if has? 'stk:expiration' hash[:expiration_attributes] = expiration_attributes if has? 'stk:expiration' hash[:note] = note if has? 'stk:note' hash[:note_attributes] = note_attributes if has? 'stk:note' hash end