Sha256: 92a5eefabf54f34efaccddc3aa6cfedf8b60a4835d8b5364fa3e7f62e6527eb1

Contents?: true

Size: 468 Bytes

Versions: 2

Compression:

Stored size: 468 Bytes

Contents

FwtPushNotificationServer.configure do |config|

	# APNS
	config.apns_certificate = File.join(Rails.root, 'config', 'APNSDevelopment.pem')
	config.apns_passphrase = 'PASSPHRASE'
	config.apns_gateway = 'gateway.sandbox.push.apple.com'
	
	# GCM
	config.gcm_api_key = 'YOUR-KEY-HERE'

	# Devise integration
	config.api_controller_class = ApplicationController
	config.authentication_filter = :authenticate_user!
	config.user_class = User
	config.user_key = :user_id

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fwt_push_notification_server-0.0.7 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.0.7.b4 lib/generators/fwt_push_notification_server/install/templates/initializer.rb