class Pohoda::Parsers::Rdc::ListVersionType
Public Instance Methods
import_details()
click to toggle source
# File lib/pohoda/parsers/rdc/list_version_type.rb, line 7 def import_details array_of_at(Rdc::DetailType, ['rdc:importDetails', 'rdc:detail']) end
parts()
click to toggle source
# File lib/pohoda/parsers/rdc/list_version_type.rb, line 11 def parts array_of_at(String, ['rdc:parts', 'rdc:part']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/rdc/list_version_type.rb, line 15 def to_h hash = {} hash[:attributes] = attributes hash[:import_details] = import_details.map(&:to_h) if has? 'rdc:importDetails' hash[:parts] = parts if has? 'rdc:parts' hash end