From ab7d0947129e148ee0df5069f336c7d35cd78ae7 Mon Sep 17 00:00:00 2001 From: Jamon Holmgren Date: Fri, 24 May 2013 00:06:54 -0700 Subject: [PATCH] on_registration, not on_register --- lib/ProMotion/delegate/delegate_notifications.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ProMotion/delegate/delegate_notifications.rb b/lib/ProMotion/delegate/delegate_notifications.rb index 67628fc..efe0288 100644 --- a/lib/ProMotion/delegate/delegate_notifications.rb +++ b/lib/ProMotion/delegate/delegate_notifications.rb @@ -46,11 +46,11 @@ module ProMotion # CocoaTouch def application(application, didRegisterForRemoteNotificationsWithDeviceToken:device_token) - on_register(device_token, nil) if respond_to?(:on_register) + on_registration(device_token, nil) if respond_to?(:on_registration) end def application(application, didFailToRegisterForRemoteNotificationsWithError:error) - on_register(nil, error) if respond_to?(:on_register) + on_registration(nil, error) if respond_to?(:on_registration) end def application(application, didReceiveRemoteNotification:notification)