Class: Wasserstand::PegelOnline::LevelProvider

Inherits:
Provider
  • Object
show all
Defined in:
lib/wasserstand/provider/pegel-online.rb

Instance Method Summary collapse

Methods inherited from Provider

#[], #all, #find_by_name, #initialize

Constructor Details

This class inherits a constructor from Wasserstand::PegelOnline::Provider

Instance Method Details

#mapperObject



78
79
80
# File 'lib/wasserstand/provider/pegel-online.rb', line 78

def mapper
  Wasserstand::PegelOnline::LevelMapper
end

#name_attributeObject



82
83
84
# File 'lib/wasserstand/provider/pegel-online.rb', line 82

def name_attribute
  'pegelname'
end

#xpath_allObject



74
75
76
# File 'lib/wasserstand/provider/pegel-online.rb', line 74

def xpath_all
  "//data/table/gewaesser/item"
end