# ***************************************************************************** # * * # * WebService::Upcoming::Object::State * # * * # ***************************************************************************** # Package ********************************************************************* package WebService::Upcoming::Object::State; # Uses ************************************************************************ use WebService::Upcoming::Object; # Exports ********************************************************************* our @ISA = ('WebService::Upcoming::Object'); our $VERSION = '0.05'; # Code ************************************************************************ sub new { return WebService::Upcoming::Object::new(shift,@_); } sub _name { return 'state'; } sub _list { shift; return ('id','name','code') if ($_[0] eq '1.0'); return (); }; sub _info { return ( { 'upco' => 'metro.getStateList','http' => 'GET' } ); } 1; __END__ =head1 NAME WebService::Upcoming::Object::State - State response object to the Upcoming API =head1 AUTHOR Copyright (C) 2005, Greg Knauss, Egreg@eod.comE =head1 SEE ALSO L =cut