Franck Cuny > Net-HTTP-Spore-0.05 > Net::HTTP::Spore::Role

Download:
Net-HTTP-Spore-0.05.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.05   Source   Latest Release: Net-HTTP-Spore-0.06

NAME ^

Net::HTTP::Spore::Role - Role to easily add multiples Spore clients to your class

VERSION ^

version 0.05

SYNOPSIS ^

  package my::app;
  use Moose;
  with Net::HTTP::Spore::Role =>
    { spore_clients => [ name => 'twitter', config => 'twitter_config' ] };

  ...

  my $app = my::app->new(twitter_config => $config->{spore}->{twitter_config});

DESCRIPTION ^

This is a role you can apply to your class. This role let you create a Spore client with a specific configuration.

AUTHOR ^

franck cuny <franck@lumberjaph.net>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by linkfluence.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: