Sha256: 005e75d8c59ec8706502cd4d271ecc674ecb74875c76c40e1de66e93bd831dd1

Contents?: true

Size: 476 Bytes

Versions: 11

Compression:

Stored size: 476 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.user_class = User
	config.user_key = :user_id
	config.permitted_user_attributes = :first_name, :last_name

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fwt_push_notification_server-0.1.0.b11 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b10 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b9 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b8 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b7 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b6 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b5 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b4 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b3 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b2 lib/generators/fwt_push_notification_server/install/templates/initializer.rb
fwt_push_notification_server-0.1.0.b1 lib/generators/fwt_push_notification_server/install/templates/initializer.rb