summary refs log tree commit diff
path: root/lib/Net/HTTP/Console.pm
blob: 4f0b34214801b8955511da7eb24ca7e28915b26c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package Net::HTTP::Console; # For PAUSE
our $VERSION = 0.01;

use MooseX::Declare;

class Net::HTTP::Console {

    with 'MooseX::Getopt';
    with 'Net::HTTP::Console::Role::Headers';
    with 'Net::HTTP::Console::Role::Prompt';
    with 'Net::HTTP::Console::Role::Plugins';
    with 'Net::HTTP::Console::Role::Message';
    with 'Net::HTTP::Console::Role::API';
    with 'Net::HTTP::Console::Role::HTTP::Response';

    has url         => (isa => 'Str', is => 'rw', predicate => 'has_url');
    has format      => (isa => 'Str', is => 'rw', predicate => 'has_format');
    has format_mode => (isa => 'Str', is => 'rw', predicate => 'has_format_mode');
    has spec        => (isa => 'Str', is => 'rw', predicate => 'has_specification');
}

1;