class Pohoda::Parsers::Ilt::InventoryListsType
Public Instance Methods
inventory_lists_detail()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_type.rb, line 11 def inventory_lists_detail array_of_at(Ilt::InventoryListsItemType, ['ilt:inventoryListsDetail', 'ilt:inventoryListsItem']) end
inventory_lists_header()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_type.rb, line 7 def inventory_lists_header submodel_at(Ilt::InventoryListsHeaderType, 'ilt:inventoryListsHeader') end
to_h()
click to toggle source
# File lib/pohoda/parsers/ilt/inventory_lists_type.rb, line 15 def to_h hash = {} hash[:attributes] = attributes hash[:inventory_lists_header] = inventory_lists_header.to_h if has? 'ilt:inventoryListsHeader' hash[:inventory_lists_detail] = inventory_lists_detail.map(&:to_h) if has? 'ilt:inventoryListsDetail' hash end