Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #39 from durrantm/master

Removed "name" attribute from "APN::App.create(..." as it didn't exist in the model.
  • Loading branch information...
commit ca98c7c130f089fba9bdf992ab4dbcea41e4b714 2 parents 826a60f + 790d7d8
@kookster kookster authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.textile
View
2  README.textile
@@ -192,7 +192,7 @@ h2. Example (assuming you have created an app and stored your keys on it):
<pre><code>
$ ./script/console
- >> app = APN::App.create(:name => "My App", :apn_dev_cert => "PASTE YOUR DEV CERT HERE", :apn_prod_cert => "PASTE YOUR PROD CERT HERE")
+ >> app = APN::App.create(:apn_dev_cert => "PASTE YOUR DEV CERT HERE", :apn_prod_cert => "PASTE YOUR PROD CERT HERE")
>> device = APN::Device.create(:token => "XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX",:app_id => app.id)
>> notification = APN::Notification.new
>> notification.device = device
Please sign in to comment.
Something went wrong with that request. Please try again.