NAME
WebService::MyGengo::Base - Generic base class for all objects in the WebService::MyGengo namespace
DESCRIPTION
Provides custom subtypes and coercions used by child classes.
ATTRIBUTES
attributes_to_serialize
A list of attribute names to be serialized by the `to_struct` method.
Override `_build_attributes_to_serialize` in subclasses.
METHODS
to_hash( \@attributes? )
Returns a reference to a hash of object attributes and values.
By default, the attributes to serialize are obtained from the `attributes_to_serialize` attribute of the object.
A custom set of attributes can be retrieved by supplying the optional \@attributes argument
If you supply an empty arrayref for `\@attributes` then all public attributes of the object will be supplied.
AUTHOR
Nathaniel Heinrichs
LICENSE
Copyright (c) 2011, Nathaniel Heinrichs <nheinric-at-cpan.org>. All rights reserved.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.