Class: OpenWeatherAPI::Resources::Handlers::CityID

Inherits:
QueryHandler
  • Object
show all
Defined in:
lib/open-weather-api/resources/handlers/base.rb

Instance Method Summary collapse

Methods inherited from QueryHandler

#can?, #handle, #initialize

Constructor Details

This class inherits a constructor from OpenWeatherAPI::Resources::Handlers::QueryHandler

Instance Method Details

#multiple?Boolean

Returns:

  • (Boolean)


62
63
64
# File 'lib/open-weather-api/resources/handlers/base.rb', line 62

def multiple?
  value.is_a? Array
end