class Pohoda::Parsers::Stk::StockSerialNumberType
Public Instance Methods
serial_number_item()
click to toggle source
# File lib/pohoda/parsers/stk/stock_serial_number_type.rb, line 7 def serial_number_item array_of_at(Stk::SerialNumberItemType, ['stk:serialNumberItem']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/stk/stock_serial_number_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:serial_number_item] = serial_number_item.map(&:to_h) if has? 'stk:serialNumberItem' hash end