Activiti-Rest-Client

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


      base url of the activiti rest api
      activiti-rest uses basic http authentication, so username and password should be included in the url
    
      e.g.
    
      http://kermit:kermit@localhost:8080/activiti-rest/service

 timeout

      timeout in seconds when connecting to the activiti rest api
    
      default value is 180

METHODS

 deployments

      Retrieve list of Deployments
    
      parameters: see user guide (http://www.activiti.org/userguide/index.html#N13293)

lib/Activiti/Rest/Client.pm  view on Meta::CPAN

=cut

has url => (
  is => 'ro',
  isa => sub { $_[0] =~ /^https?:\/\//o or die("url must be a valid web url\n"); },
  required => 1
);

=head2 timeout

  timeout in seconds when connecting to the activiti rest api

  default value is 180

=cut

has timeout => (
  is => 'ro',
  isa => sub { is_integer($_[0]) && $_[0] >= 0 || die("timeout should be natural number"); },
  lazy => 1,
  default => sub { 180; }



( run in 1.508 second using v1.01-cache-2.11-cpan-39bf76dae61 )