about summary refs log tree commit diff
path: root/lib/Net/HTTP/API/Parser.pm
blob: 87717cee4edeabdd47b1b61026a318dcbfeb1802 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package Net::HTTP::API::Parser;

# ABSTRACT: base class for all Net::HTTP::API::Parser

use Moose;

has format_options => (
    is         => 'rw',
    isa        => 'HashRef',
    lazy       => 1,
    default    => sub { {} },
);

sub encode {die "must be implemented"}
sub decode {die "must be implemented"}

1;

__END__

=head1 SYNOPSIS

=head1 DESCRIPTION