class Pohoda::Parsers::Sup::SuppliersType

Public Instance Methods

supplier_item() click to toggle source
# File lib/pohoda/parsers/sup/suppliers_type.rb, line 7
def supplier_item
  array_of_at(SupplierItemType, ['sup:supplierItem'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/sup/suppliers_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:supplier_item] = supplier_item.map(&:to_h) if has? 'sup:supplierItem'

  hash
end