| WebService-Upcoming documentation | Contained in the WebService-Upcoming distribution. |
WebService::Upcoming::Object::Metro - Metro response object to the Upcoming API
Copyright (C) 2005, Greg Knauss, <greg@eod.com>
| WebService-Upcoming documentation | Contained in the WebService-Upcoming distribution. |
# ***************************************************************************** # * * # * WebService::Upcoming::Object::Metro * # * * # ***************************************************************************** # Package ********************************************************************* package WebService::Upcoming::Object::Metro; # 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 'metro'; } sub _list { shift; return ('id','name','code') if ($_[0] eq '1.0'); return () }; sub _info { return ( { 'upco' => 'metro.getInfo', 'http' => 'GET' }, { 'upco' => 'metro.search', 'http' => 'GET' }, { 'upco' => 'metro.getList', 'http' => 'GET' }, { 'upco' => 'user.getMetroList','http' => 'GET' } ); } 1; __END__