WebService::Upcoming::Object::Watchlist - Watchlist response object to the Upcoming API


WebService-Upcoming documentation Contained in the WebService-Upcoming distribution.

Index


Code Index:

NAME

Top

WebService::Upcoming::Object::Watchlist - Watchlist response object to the Upcoming API

AUTHOR

Top

Copyright (C) 2005, Greg Knauss, <greg@eod.com>

SEE ALSO

Top

WebService::Upcoming


WebService-Upcoming documentation Contained in the WebService-Upcoming distribution.

# *****************************************************************************
# *                                                                           *
# * WebService::Upcoming::Object::Watchlist                                   *
# *                                                                           *
# *****************************************************************************


# Package *********************************************************************
package WebService::Upcoming::Object::Watchlist;


# Uses ************************************************************************
use strict;
use WebService::Upcoming::Object;


# Exports *********************************************************************
our @ISA = ('WebService::Upcoming::Object');
our $VERSION = '0.05';


# Code ************************************************************************
sub new   { return WebService::Upcoming::Object::new(@_); }
sub _name { return 'watchlist'; }
sub _list { shift;
            return ('id','event_id','status') if ($_[0] eq '1.0');
            return (); }
sub _info { return (
             { 'upco' => 'watchlist.getList','http' => 'GET'  },
             { 'upco' => 'watchlist.add',    'http' => 'POST' },
             { 'upco' => 'watchlist.remove', 'http' => 'POST' } ); }
1;
__END__