Weather::YR::Locationforecast::Forecast - Stores data about a forecast


Weather-YR documentation Contained in the Weather-YR distribution.

Index


Code Index:

NAME

Top

Weather::YR::Locationforecast::Forecast - Stores data about a forecast

DESCRIPTION

Top

This module stores data about a forecast.

METHODS

Top

new($args)

Constructor.

type

Accessor for the forecast type.

meta

Accessor for meta data

to

Accessor for the to date

from

Accessor for the from date

location

Accessor for the geo data

SEE ALSO

Top

Weather::YR::Locationforecast

AUTHOR

Top

Knut-Olav, <knut-olav@hoven.ws>

COPYRIGHT AND LICENSE

Top


Weather-YR documentation Contained in the Weather-YR distribution.
package Weather::YR::Locationforecast::Forecast;

use strict;
use warnings;

use base qw/Class::Accessor::Fast/;

sub new {
    my ( $class, $args ) = @_;

    $args ||= {};
    my $self = bless $args, $class;

    return $self;
}

__PACKAGE__->mk_accessors(qw/
    type
    meta
    to
    from
    location
/);

1;