The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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