Skip to content

Commit

Permalink
Merge pull request #84 from bryant1410/master
Browse files Browse the repository at this point in the history
Fix broken headings in Markdown files
  • Loading branch information
samuraisam authored Apr 17, 2017
2 parents 41abf6e + 51efc6d commit 78c1875
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Each of these functions can be called synchronously and asynchronously. To make

## The Ruby API

###PYAPNS::Client
### PYAPNS::Client
There's python in my ruby!

The ruby gem can be installed from [here](https://github.com/krasio/pyapns_gem)
Expand All @@ -222,7 +222,7 @@ charge a fee each time you push a notification, and charge extra for so-called
However, PYAPNS is free, as in beer and offers more scaling opportunities without
the financial draw.

###Provisioning
### Provisioning

To add your app to the PYAPNS server, it must be `provisioned` at least once.
Normally this is done once upon the start-up of your application, be it a web
Expand All @@ -247,7 +247,7 @@ See the docs on `PYAPNS::ClientConfiguration` for a list of available configurat
parameters (some of these are important, and you can specify initial applications)
to be configured by default.

###Sending Notifications
### Sending Notifications

Once your client is configured, and application provisioned (again, these
should be taken care of before you write notification code) you can begin
Expand Down Expand Up @@ -275,7 +275,7 @@ converted to `PYAPNS::Notification` objects so they can be optimized for the wir
(nil values removed, etc...), and you can pass `PYAPNS::Notification` objects
directly if you wish.

###Retrieving Feedback
### Retrieving Feedback

The APS service offers a feedback functionality that allows application servers
to retrieve a list of device tokens it deems to be no longer in use, and the
Expand All @@ -286,7 +286,7 @@ with the date and the token:

feedbacks = client.feedback 'cf'

###Asynchronous Calls
### Asynchronous Calls

PYAPNS::Client will, by default, perform no funny stuff and operate entirely
within the calling thread. This means that certain applications may hang when,
Expand All @@ -304,7 +304,7 @@ Just pass a block to provision/notify/feedback like so:
feedbacks.each { |f| trim_token f }
end

###PYAPNS::ClientConfiguration
### PYAPNS::ClientConfiguration
A middleware class to make `PYAPNS::Client` easy to use in web contexts

Automates configuration of the client in Rack environments
Expand Down Expand Up @@ -340,7 +340,7 @@ Where the configuration variables are defined:
:timoeut Number The timeout for the server to use when connecting
to the apple servers

###PYAPNS::Notification
### PYAPNS::Notification
An APNS Notification

You can construct notification objects ahead of time by using this class.
Expand Down

0 comments on commit 78c1875

Please sign in to comment.