1 |
package Frey; |
package Frey; |
2 |
use Moose; |
use Moose; |
3 |
|
|
4 |
our $VERSION = "0.20"; |
our $VERSION = "0.23"; |
5 |
|
|
6 |
|
use Data::Dump qw//; |
7 |
|
sub dump { ref(shift) . ' ' . Data::Dump::dump ( @_ ) } |
8 |
|
|
9 |
has 'debug' => ( |
has 'debug' => ( |
10 |
is => 'rw', |
is => 'rw', |
11 |
isa => 'Bool', |
isa => 'Int', |
12 |
default => 0, |
default => 0, |
13 |
); |
); |
14 |
|
|
24 |
crops; the brother of Freya. |
crops; the brother of Freya. |
25 |
|
|
26 |
Basically you write L<Moose> classes which become deirectly callable from |
Basically you write L<Moose> classes which become deirectly callable from |
27 |
the web using REST API |
the Firefox using REST API. |
28 |
|
|
29 |
=head1 INTROSPECTION |
=head1 INTROSPECTION |
30 |
|
|
44 |
You can also add method invocation and optonal parametars to C<new> |
You can also add method invocation and optonal parametars to C<new> |
45 |
constructor like this: |
constructor like this: |
46 |
|
|
47 |
http://localhost:16001/Frey::Pod/markup?class=Frey |
http://localhost:16001/Frey::Pod/as_markup?class=Frey |
48 |
|
|
49 |
this is same using L<Frey::Pod> from perl as |
this is same using L<Frey::Pod> from perl as |
50 |
|
|
51 |
Frey::Pod->new( class => 'Frey' )->markup; |
Frey::Pod->new( class => 'Frey' )->as_markup; |
52 |
|
|
53 |
if you leave out parametars, L<Frey::Run> will ask for required ones. |
if you leave out parametars, L<Frey::Run> will ask for required ones. |
54 |
|
|
58 |
C<< with 'Frey::Collection' >> they will have basic CRUD functionality |
C<< with 'Frey::Collection' >> they will have basic CRUD functionality |
59 |
implemented by L<Frey::ObjectBrowser>. |
implemented by L<Frey::ObjectBrowser>. |
60 |
|
|
61 |
|
=head1 SEE ALSO |
62 |
|
|
63 |
|
L<Frey::Manual> |
64 |
|
|
65 |
=cut |
=cut |
66 |
|
|
67 |
1; |
1; |