summaryrefslogblamecommitdiff
path: root/lib/Net/HTTP/API/Parser.pm
blob: c0a105e82a61c749029847ec4e36e2082c48ef9b (plain) (tree)
1
2
3
4
5
6
7
8
9
                               
 
                                                     
 

          


                            

                             

  



                                      
 



                  
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;

=head1 SYNOPSIS

=head1 DESCRIPTION