@@ -196,7 +196,7 @@ Each of these functions can be called synchronously and asynchronously. To make
196196
197197## The Ruby API
198198
199- ###PYAPNS::Client
199+ ### PYAPNS::Client
200200There's python in my ruby!
201201
202202The ruby gem can be installed from [ here] ( https://github.com/krasio/pyapns_gem )
@@ -222,7 +222,7 @@ charge a fee each time you push a notification, and charge extra for so-called
222222However, PYAPNS is free, as in beer and offers more scaling opportunities without
223223the financial draw.
224224
225- ###Provisioning
225+ ### Provisioning
226226
227227To add your app to the PYAPNS server, it must be ` provisioned ` at least once.
228228Normally this is done once upon the start-up of your application, be it a web
@@ -247,7 +247,7 @@ See the docs on `PYAPNS::ClientConfiguration` for a list of available configurat
247247parameters (some of these are important, and you can specify initial applications)
248248to be configured by default.
249249
250- ###Sending Notifications
250+ ### Sending Notifications
251251
252252Once your client is configured, and application provisioned (again, these
253253should be taken care of before you write notification code) you can begin
@@ -275,7 +275,7 @@ converted to `PYAPNS::Notification` objects so they can be optimized for the wir
275275(nil values removed, etc...), and you can pass ` PYAPNS::Notification ` objects
276276directly if you wish.
277277
278- ###Retrieving Feedback
278+ ### Retrieving Feedback
279279
280280The APS service offers a feedback functionality that allows application servers
281281to retrieve a list of device tokens it deems to be no longer in use, and the
@@ -286,7 +286,7 @@ with the date and the token:
286286
287287 feedbacks = client.feedback 'cf'
288288
289- ###Asynchronous Calls
289+ ### Asynchronous Calls
290290
291291PYAPNS::Client will, by default, perform no funny stuff and operate entirely
292292within the calling thread. This means that certain applications may hang when,
@@ -304,7 +304,7 @@ Just pass a block to provision/notify/feedback like so:
304304 feedbacks.each { |f| trim_token f }
305305 end
306306
307- ###PYAPNS::ClientConfiguration
307+ ### PYAPNS::ClientConfiguration
308308A middleware class to make ` PYAPNS::Client ` easy to use in web contexts
309309
310310Automates configuration of the client in Rack environments
@@ -340,7 +340,7 @@ Where the configuration variables are defined:
340340 :timoeut Number The timeout for the server to use when connecting
341341 to the apple servers
342342
343- ###PYAPNS::Notification
343+ ### PYAPNS::Notification
344344An APNS Notification
345345
346346You can construct notification objects ahead of time by using this class.
0 commit comments