Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Split into high-level API and low-level connection-oriented API #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

betamatt
Copy link

@betamatt betamatt commented Jun 7, 2012

Enable connections to be directly created with different keys. APNS high-level interface is preserved.

conn = NotificationConnection.new(key, pass)
conn.send_notification("123", "My test message")

@betamatt
Copy link
Author

I guess this does the same thing as PR#9 but with a slightly different look. Whichever one you like is fine by me but I'd greatly appreciate one of them getting pulled, or direction as to what you'd like to see instead. By all means, push the work back onto me :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant