Why not adopt me?This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.
- SEE ALSO
Weather::OpenWeatherMap::Result - Weather lookup result superclass
# Normally retrieved via Weather::OpenWeatherMap
This is the parent class for Weather::OpenWeatherMap weather results.
The "SEE ALSO" section links known subclasses.
Subclasses provide more convenient accessors for retrieving desired information.
The error message received from the OpenWeatherMap backend (or the empty string if there was no error).
Returns boolean true if the OpenWeatherMap backend returned a successful response.
The raw JSON this Result was created with.
The response code from OpenWeatherMap.
The original request that was attached to this result.
Factory method; returns a new object belonging to the appropriate subclass:
my $result = Weather::OpenWeatherMap::Result->new_for( Forecast => request => $orig_request, json => $raw_json, );
Result deserialization wrapper for use by subclasses.
Serialization wrapper for use by subclasses.
Jon Portnoy <email@example.com>
Licensed under the same terms as perl.