module Lowdown::Connection::DelegateProtocol
This module describes the interface that your delegate object should conform to, but it is not required to include this module in your class, it mainly serves a documentation purpose.
Public Instance Methods
handle_apns_response(response, context:)
click to toggle source
Called when a request is finished and a response is available.
@note (see Connection#post
)
@param [Response] response
the Response that holds the status data that came back from the service.
@param [Object, nil] context
the context passed in when making the request, which can be any type of object or an array of objects.
@return [void]
# File lib/lowdown/connection.rb, line 305 def handle_apns_response(response, context:) raise NotImplementedError end