Yuji Shimada > Net-APNs-Extended-0.02 > Net::APNs::Extended::Feedback

Download:
Net-APNs-Extended-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Net-APNs-Extended-0.10

NAME ^

Net::APNs::Extended::Feedback - Client library for APNs feedback service

SYNOPSIS ^

  use Net::APNs::Extended::Feedback;

  my $feedback = Net::APNs::Extended::Feedback->new(
      is_sandbox => 1,
      cert_file   => 'xxx',
  );

  my $feedbacks = $feedback->retrieve_feedback;
  # [
  #   {
  #     time_t    => ...,
  #     token_bin => ...,
  #     token_hex => ...,
  #   },
  #   {
  #     time_t    => ...,
  #     token_bin => ...,
  #     token_hex => ...,
  #   },
  #   ...
  # ]

METHODS ^

new(%args)

Create a new instance of Net::APNs::Extended::Feedback.

Supported args same as Net::APNs::Extended.

retrieve_feedback()

This method is receive the feedback from APNs.

 my $feedbacks = $feedback->retrieve_feedback;

AUTHOR ^

xaicron <xaicron {at} cpan.org>

COPYRIGHT ^

Copyright 2012 - xaicron

LICENSE ^

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

SEE ALSO ^

syntax highlighting: