Net::Plazes::Plaze - representation of remote resource http://plazes.com/plazes(.*)


Net-Plazes documentation Contained in the Net-Plazes distribution.

Index


Code Index:

NAME

Top

Net::Plazes::Plaze - representation of remote resource http://plazes.com/plazes(.*)

VERSION

Top

$Revision$

SYNOPSIS

Top

DESCRIPTION

Top

SUBROUTINES/METHODS

Top

service

fields - list of accessors for resources of this type

 my @aFields = $oObj->fields();

Accessors are:

id
address
category
city
country_code
created_at
name
state
timezone
updated_at
zip_code
latitude
longitude
country
has_free_wifi
picture_url

DIAGNOSTICS

Top

CONFIGURATION AND ENVIRONMENT

Top

DEPENDENCIES

Top

strict
warnings
base
Net::Plazes::Base

INCOMPATIBILITIES

Top

BUGS AND LIMITATIONS

Top

AUTHOR

Top

$Author: Roger Pettett$

LICENSE AND COPYRIGHT

Top


Net-Plazes documentation Contained in the Net-Plazes distribution.

#########
# Author:        rmp
# Maintainer:    $Author: rmp $
# Created:       2008-08-13
# Last Modified: $Date$
# Id:            $Id$
# $HeadURL$
#
package Net::Plazes::Plaze;
use strict;
use warnings;
use base qw(Net::Plazes::Base);

our $VERSION = '0.03';

__PACKAGE__->mk_accessors(fields());
__PACKAGE__->has_many();

sub service {
  return q[http://plazes.com/plazes];
}

sub fields {
  return qw(id address category city country_code has_free_wifi created_at link name state timezone updated_at zip_code latitude longitude country picture_url);
}

1;
__END__