about summary refs log tree commit diff
path: root/lib/Net/HTTP
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-12-08 17:29:37 +0100
committerfranck cuny <franck@lumberjaph.net>2010-12-08 17:29:37 +0100
commitc3584a3d5738f0280eb9f7f49d79de093e132fd6 (patch)
treefaff40b93b9378e8eed518055a0aa1f107787dfd /lib/Net/HTTP
parentnew option (diff)
downloadnet-http-api-c3584a3d5738f0280eb9f7f49d79de093e132fd6.tar.gz
allow format_options
Diffstat (limited to 'lib/Net/HTTP')
-rw-r--r--lib/Net/HTTP/API/Parser.pm6
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"}