Permalink
Browse files

remove name attribute from APN app creation as that attribute doesn't…

… exist.
  • Loading branch information...
1 parent f8726f3 commit 790d7d8b8443d1129135bfa1de823efdd588f410 @durrantm durrantm committed Jan 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.textile
View
@@ -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

0 comments on commit 790d7d8

Please sign in to comment.