Class: MeteoPl::Utility::Graph

Inherits:
Object
  • Object
show all
Defined in:
lib/meteo_pl/utility/graph.rb

Direct Known Subclasses

MobileMeteoGraph

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(net_fetcher, location, period) ⇒ Graph

Returns a new instance of Graph.



6
7
8
9
10
# File 'lib/meteo_pl/utility/graph.rb', line 6

def initialize(net_fetcher, location, period)
  @net_fetcher = net_fetcher
  @location = location
  @period = period
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



4
5
6
# File 'lib/meteo_pl/utility/graph.rb', line 4

def location
  @location
end

#net_fetcherObject (readonly)

Returns the value of attribute net_fetcher.



4
5
6
# File 'lib/meteo_pl/utility/graph.rb', line 4

def net_fetcher
  @net_fetcher
end

#periodObject (readonly)

Returns the value of attribute period.



4
5
6
# File 'lib/meteo_pl/utility/graph.rb', line 4

def period
  @period
end

Instance Method Details

#uriObject

Raises:

  • (NotImplemented)


12
13
14
# File 'lib/meteo_pl/utility/graph.rb', line 12

def uri
  raise NotImplemented
end