diff options
author | Olaf Alders <olaf@wundersolutions.com> | 2013-08-14 00:02:46 -0400 |
---|---|---|
committer | Olaf Alders <olaf@wundersolutions.com> | 2013-08-14 00:02:46 -0400 |
commit | 4936c22b5fbfc7c1f6a4c9ac5c3de400a28ef709 (patch) | |
tree | 9e7a5dc528b7e7c922271d6ef2e6bf7a28423c23 | |
parent | v0.06 (diff) | |
download | net-http-spore-4936c22b5fbfc7c1f6a4c9ac5c3de400a28ef709.tar.gz |
Fixes typos.
-rw-r--r-- | lib/Net/HTTP/Spore.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/HTTP/Spore.pm b/lib/Net/HTTP/Spore.pm index d3b2165..0802f24 100644 --- a/lib/Net/HTTP/Spore.pm +++ b/lib/Net/HTTP/Spore.pm @@ -180,7 +180,7 @@ Some specifications for well-known services are available L<http://github.com/SP =head2 CLIENT CREATION -First you need to create a client. This can be done using two methods, B<new_from_spec> and B<new_from_string>. The client will read the specification file to create a appropriate methods to interact with the API. +First you need to create a client. This can be done using two methods, B<new_from_spec> and B<new_from_string>. The client will read the specification file to create the appropriate methods to interact with the API. =head2 MIDDLEWARES @@ -192,7 +192,7 @@ or only on some path $client->enable_if(sub{$_->[0]->path =~ m!/path/to/json/stuff!}, 'Format::JSON'); -For very simple middlewares, you can simple pass in an anonymous function +For very simple middlewares, you can simply pass in an anonymous function $client->enable( sub { my $request = shift; ... } ); |