Net::HerokuHeroku API | |
Download |
Net::Heroku Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Glen Hinkle
- Publisher web site:
- http://search.cpan.org/~tempire/
Net::Heroku Tags
Net::Heroku Description
Net::Heroku is a Heroku API written in Perl.USAGE my $h = Net::Heroku->new(api_key => api_key); - or - my $h = Net::Heroku->new(email => $email, password => $password); my %res = $h->create; $h->add_config(name => $res{name}, BUILDPACK_URL => ...); $h->restart(name => $res{name}); say $_->{name} for $h->apps; $h->destroy(name => $res{name}); warn 'Error:' . $h->error # Error: App not found. if not $h->destroy(name => $res{name}); if (!$h->destroy(name => $res{name})) { my %err = $h->error; warn "$err{code}, $err{message}"; # 404, App not found. }Product's homepage
Net::Heroku Related Software