class Pohoda::Parsers::Ftr::FilterNumeciralSeriesType

Public Instance Methods

agenda() click to toggle source
# File lib/pohoda/parsers/ftr/filter_numeciral_series_type.rb, line 23
def agenda
  at 'ftr:agenda'
end
agenda_attributes() click to toggle source
# File lib/pohoda/parsers/ftr/filter_numeciral_series_type.rb, line 27
def agenda_attributes
  attributes_at 'ftr:agenda'
end
id() click to toggle source
# File lib/pohoda/parsers/ftr/filter_numeciral_series_type.rb, line 7
def id
  at 'ftr:id'
end
id_attributes() click to toggle source
# File lib/pohoda/parsers/ftr/filter_numeciral_series_type.rb, line 11
def id_attributes
  attributes_at 'ftr:id'
end
period() click to toggle source
# File lib/pohoda/parsers/ftr/filter_numeciral_series_type.rb, line 15
def period
  at 'ftr:period'
end
period_attributes() click to toggle source
# File lib/pohoda/parsers/ftr/filter_numeciral_series_type.rb, line 19
def period_attributes
  attributes_at 'ftr:period'
end
to_h() click to toggle source
# File lib/pohoda/parsers/ftr/filter_numeciral_series_type.rb, line 31
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:id] = id if has? 'ftr:id'
  hash[:id_attributes] = id_attributes if has? 'ftr:id'
  hash[:period] = period if has? 'ftr:period'
  hash[:period_attributes] = period_attributes if has? 'ftr:period'
  hash[:agenda] = agenda if has? 'ftr:agenda'
  hash[:agenda_attributes] = agenda_attributes if has? 'ftr:agenda'

  hash
end