class Pohoda::Parsers::Rdc::ItemDetailsType
Public Instance Methods
item()
click to toggle source
# File lib/pohoda/parsers/rdc/item_details_type.rb, line 7 def item array_of_at(Rdc::ItemType, ['rdc:item']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/rdc/item_details_type.rb, line 11 def to_h hash = {} hash[:attributes] = attributes hash[:item] = item.map(&:to_h) if has? 'rdc:item' hash end