Class: OpenWeatherAPI::Resources::Handlers::Geolocation
- Inherits:
-
QueryHandler
- Object
- QueryHandler
- OpenWeatherAPI::Resources::Handlers::Geolocation
- Defined in:
- lib/open-weather-api/resources/handlers/base.rb
Instance Method Summary collapse
Methods inherited from QueryHandler
Constructor Details
This class inherits a constructor from OpenWeatherAPI::Resources::Handlers::QueryHandler
Instance Method Details
#can? ⇒ Boolean
78 79 80 |
# File 'lib/open-weather-api/resources/handlers/base.rb', line 78 def can? latitude != nil && longitude != nil end |