NAME

WebService::GData - represent a base GData object.

VERSION

0.01

SYNOPSIS

	package WebService::MyService;
	use WebService::GData;#strict/warnings turned on
	use base 'WebService::GData';

	#this is the base implementation of the __init method in WebService::GData
	#it is call when new is used
	#you should overwrite it if necessary.
	sub __init {
		my ($this,%params) = @_;
		while(my ($prop,$val)=each %params){
			$this->{$prop}=$val;
		}
		return $this;
	}

	sub name {
		my $this = shift;
		return $this->{name};
	}

	1;

    
    use WebService::MyService; 

    #create an object
   	my $object = new WebService::MyService(name=>'test');

	$object->name;#test

	#overloaded string will dump the object with Data::Dumper;
	print $object;#$VAR1 = bless( { 'name' => 'test' }, 'WebService::MyService' );

DESCRIPTION

This package does not do much.You should inherit and extends it.

It just offers a basic hashed based object creation via the word new.

All sub classes should be hash based. If you want to pock into the instance, it's easy

but everything that is not documented should considered private to the API.

If you play around with undocumented properties/methods and that it changes,

upgrading to the new version with all the extra new killer features will be very hard to do.

so...

dont.

Mostly, you will want to look the abstract classes from which services extend their feature:

- WebService::GData::Base

- WebService::GData::ClientLogin

- WebService::GData::Error

- WebService::GData::Query

- WebService::GData::Feed

A service in progress:

- WebService::GData::YouTube

SUBROUTINE

new

    Takes an hash which keys will be attached to the instance.

CONFIGURATION AND ENVIRONMENT

none

DEPENDENCIES

none

INCOMPATIBILITIES

none

BUGS AND LIMITATIONS

If you do me the favor to _use_ this module and find a bug, please email me i will try to do my best to fix it (patches welcome)!

AUTHOR

shiriru <shiriru0111[arobas]hotmail.com>

LICENSE AND COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 145:

You forgot a '=back' before '=head1'