Class: Usgs::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/usgs/parser.rb

Class Method Summary collapse

Class Method Details

.parse_sites(response) ⇒ Object



6
7
8
# File 'lib/usgs/parser.rb', line 6

def parse_sites(response)
  Parsers::RdbParser.parse(response)
end

.parse_statistics(response) ⇒ Object



18
19
20
# File 'lib/usgs/parser.rb', line 18

def parse_statistics(response)
  Parsers::StatisticsParser.parse(response)
end

.parse_time_series(response, timescale: :instantaneous) ⇒ Object



10
11
12
# File 'lib/usgs/parser.rb', line 10

def parse_time_series(response, timescale: :instantaneous)
  # Parsers::TimeSeriesParser.parse(response, timescale: timescale)
end

.parse_time_series_values(response) ⇒ Object



14
15
16
# File 'lib/usgs/parser.rb', line 14

def parse_time_series_values(response)
  Parsers::TimeSeriesParser.parse(response)
end