class Pohoda::Parsers::Rdc::DetailType
Public Instance Methods
errno()
click to toggle source
# File lib/pohoda/parsers/rdc/detail_type.rb, line 16 def errno at 'rdc:errno' end
errno_attributes()
click to toggle source
# File lib/pohoda/parsers/rdc/detail_type.rb, line 20 def errno_attributes attributes_at 'rdc:errno' end
note()
click to toggle source
# File lib/pohoda/parsers/rdc/detail_type.rb, line 24 def note at 'rdc:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/rdc/detail_type.rb, line 28 def note_attributes attributes_at 'rdc:note' end
state()
click to toggle source
# File lib/pohoda/parsers/rdc/detail_type.rb, line 8 def state at 'rdc:state' end
state_attributes()
click to toggle source
# File lib/pohoda/parsers/rdc/detail_type.rb, line 12 def state_attributes attributes_at 'rdc:state' end
to_h()
click to toggle source
# File lib/pohoda/parsers/rdc/detail_type.rb, line 32 def to_h hash = {} hash[:attributes] = attributes hash[:state] = state if has? 'rdc:state' hash[:state_attributes] = state_attributes if has? 'rdc:state' hash[:errno] = errno if has? 'rdc:errno' hash[:errno_attributes] = errno_attributes if has? 'rdc:errno' hash[:note] = note if has? 'rdc:note' hash[:note_attributes] = note_attributes if has? 'rdc:note' mega.inject(hash) { |memo, r| memo.merge r } end