module Pohoda::Parsers::Rdc::Groups::MyGroupOfValue

Public Instance Methods

to_h() click to toggle source
# File lib/pohoda/parsers/rdc/groups/my_group_of_value.rb, line 30
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:x_path] = x_path if has? 'rdc:XPath'
  hash[:x_path_attributes] = x_path_attributes if has? 'rdc:XPath'
  hash[:value_requested] = value_requested if has? 'rdc:valueRequested'
  hash[:value_requested_attributes] = value_requested_attributes if has? 'rdc:valueRequested'
  hash[:value_produced] = value_produced if has? 'rdc:valueProduced'
  hash[:value_produced_attributes] = value_produced_attributes if has? 'rdc:valueProduced'

  hash
end
value_produced() click to toggle source
# File lib/pohoda/parsers/rdc/groups/my_group_of_value.rb, line 22
def value_produced
  at 'rdc:valueProduced'
end
value_produced_attributes() click to toggle source
# File lib/pohoda/parsers/rdc/groups/my_group_of_value.rb, line 26
def value_produced_attributes
  attributes_at 'rdc:valueProduced'
end
value_requested() click to toggle source
# File lib/pohoda/parsers/rdc/groups/my_group_of_value.rb, line 14
def value_requested
  at 'rdc:valueRequested'
end
value_requested_attributes() click to toggle source
# File lib/pohoda/parsers/rdc/groups/my_group_of_value.rb, line 18
def value_requested_attributes
  attributes_at 'rdc:valueRequested'
end
x_path() click to toggle source
# File lib/pohoda/parsers/rdc/groups/my_group_of_value.rb, line 6
def x_path
  at 'rdc:XPath'
end
x_path_attributes() click to toggle source
# File lib/pohoda/parsers/rdc/groups/my_group_of_value.rb, line 10
def x_path_attributes
  attributes_at 'rdc:XPath'
end