package Froody::API::Reflection; use strict; use warnings; use base "Froody::API::XML"; =head1 NAME Froody::API::Reflection - the froody reflection api spec =head1 SYNOPSIS use Froody::API::Reflection =head1 DESCRIPTION Froody's reflection system allow you to introspect your methods, and access the API spefication for methods using Froody calls to the Froody server itself. All repositories support two standard methods which are used for reflection, C and C. This class defines the API for those methods. See Froody::Reflection for more details =head1 BUGS None known. Please report any bugs you find via the CPAN RT system. L =head1 AUTHOR Copyright Fotango 2005. All rights reserved. Please see the main L documentation for details of who has worked on this project. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 SEE ALSO L, L =cut sub xml { return <<'XML'; Returns information for a given froody API method. As long as there is a method matching the given method_name, returns description and usage of that method in xml. A fake method xml-response-example Your favorite color. Your happy fun clothing of choice. Don't cross the streams. Don't cross the streams. The name of the method to fetch information for. The requested method was not found. Returns a list of available froody API methods. froody.reflection.getMethods froody.reflection.getMethodInfo bar.baz.blargle heartofgold.towel.location Returns a list of all available froody error types for this repository. froody.error froody.error.blog Request information about an Error Type The code of the error type whose information is being requested. Internal structure of your error type goes here (including XML) XML } 1;