Method: LWS::Resource::Collection::WeatherLocation#forecasts

Defined in:
lib/lws/apps/resource.rb

#forecastsForecast

Returns the forecasts for the weather location.

Returns:

  • (Forecast)

    the forecasts for the weather location



331
332
333
# File 'lib/lws/apps/resource.rb', line 331

has_many :forecasts,
class_name: "LWS::Resource::Collection::WeatherLocation::Forecast",
uri: "collections/:collection_id/weather_location/:weather_location_id/forecasts(/:id)"