Catalyst::View::APNSAPNS View Class | |
Download |
Catalyst::View::APNS Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Soshi Tamura
- Publisher web site:
- http://search.cpan.org/~haoyayoi/
Catalyst::View::APNS Tags
Catalyst::View::APNS Description
APNS View Class Catalyst::View::APNS is Catalyst view handler class for Apple Push Notification Service.SYNOPSIS# lib/MyApp/View/APNS.pm package MyApp::View::APNS; use base qw/Catalyst::View::APNS/; 1;# Configure in lib/MyApp.pm MyApp->config( { apns => { certification => cert #require to specify private_key => key #require to specify } } );sub hello : Local { my ( $self, $c ) = @_; $c->stash->{apns} = { device_token => $device_token, message => $message, badge => $badge, sandbox => 0 | 1 #optional }; $c->forward('MyApp::View::APNS'); }Use the helper to create your View: myapp_create.pl view APNS APNS Requirements: · Perl
Catalyst::View::APNS Related Software