Sha256: 08ac70f1be49a79e0efabc219df3a09367d972322d62f5997a5134800b0436b4

Contents?: true

Size: 714 Bytes

Versions: 2

Compression:

Stored size: 714 Bytes

Contents

# ApnsPolite

Apple Push Notification Service

## Installation

Add this line to your application's Gemfile:

    gem 'apns_polite'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install apns_polite

## Usage

    m = ApnsPolite::Message.new 'device_token', alert: 'message sample', badge: 3
    n = ApnsPolite::Notification.new host: "gateway.push.apple.com", port: 2195, pem: "pem path", password: "pem password"
    
    n.push m
    
    n.close

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apns_polite-0.9.1 README.md
apns_polite-0.9.0 README.md