Class: MeteoPl::Utility::Graph
- Inherits:
-
Object
- Object
- MeteoPl::Utility::Graph
- Defined in:
- lib/meteo_pl/utility/graph.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#net_fetcher ⇒ Object
readonly
Returns the value of attribute net_fetcher.
-
#period ⇒ Object
readonly
Returns the value of attribute period.
Instance Method Summary collapse
-
#initialize(net_fetcher, location, period) ⇒ Graph
constructor
A new instance of Graph.
- #uri ⇒ Object
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
#location ⇒ Object (readonly)
Returns the value of attribute location.
4 5 6 |
# File 'lib/meteo_pl/utility/graph.rb', line 4 def location @location end |
#net_fetcher ⇒ Object (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 |
#period ⇒ Object (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
#uri ⇒ Object
12 13 14 |
# File 'lib/meteo_pl/utility/graph.rb', line 12 def uri raise NotImplemented end |