Skip to content

Commit

Permalink
remove name attribute from APN app creation as that attribute doesn't…
Browse files Browse the repository at this point in the history
… exist.
  • Loading branch information
durrantm committed Jan 31, 2012
1 parent f8726f3 commit 790d7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Expand Up @@ -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
Expand Down

0 comments on commit 790d7d8

Please sign in to comment.