package Maypole::Config;
use base qw(Class::Accessor);
use attributes ();
#use overload
#    '""' => sub { shift->stringify_self};
use strict;
use warnings;

# Public accessors.
__PACKAGE__->mk_accessors(
    qw( view uri_base template_root model loader display_tables ok_tables
      rows_per_page dsn user pass opts)
      );

# Should only be modified by model.
    __PACKAGE__->mk_ro_accessors( qw(
	  classes
	  tables
	  table_to_class
    ) );

1;

=head1 NAME

Maypole::Config - Maypole Configuration Class

=head1 DESCRIPTION

This class stores all configuration data for your Maypole application.

=head2 view

The view class for your Maypole Application. Defaults to "Maypole::View::TT"

=head2 display_tables 

=head2 ok_tables

=head2 model

=head2 loader

=head2 uri_base 

=head2 classes
 
=head2 rows_per_page

=head2 dsn

=head2 user

=head2 pass

=head2 opts

+head2 table_to_root

=head2 template_root
