diff options
author | franck cuny <franck@lumberjaph.net> | 2010-12-08 17:29:37 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-12-08 17:29:37 +0100 |
commit | c3584a3d5738f0280eb9f7f49d79de093e132fd6 (patch) | |
tree | faff40b93b9378e8eed518055a0aa1f107787dfd /lib/Net/HTTP/API/Parser.pm | |
parent | new option (diff) | |
download | net-http-api-c3584a3d5738f0280eb9f7f49d79de093e132fd6.tar.gz |
allow format_options
Diffstat (limited to '')
-rw-r--r-- | lib/Net/HTTP/API/Parser.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Net/HTTP/API/Parser.pm b/lib/Net/HTTP/API/Parser.pm index b77095b..053d6be 100644 --- a/lib/Net/HTTP/API/Parser.pm +++ b/lib/Net/HTTP/API/Parser.pm @@ -4,6 +4,12 @@ package Net::HTTP::API::Parser; use Moose; +has format_options => ( + is => 'rw', + isa => 'HashRef', + auto_deref => 1, +); + sub encode {die "must be implemented"} sub decode {die "must be implemented"} |