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


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

Index


Code Index:

NAME

Top

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

DESCRIPTION

Top

This module stores data about a forecast.

METHODS

Top

new

type

Accessor for the forecast type.

SEE ALSO

Top

Weather::YR::Textforecast

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


Weather-YR documentation Contained in the Weather-YR distribution.
package Weather::YR::Textforecast::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/);

1;