Sha256: ab67529508dc1c385fb8aac2023ae281de84eee381d963f087b0871959f9e804

Contents?: true

Size: 1004 Bytes

Versions: 1

Compression:

Stored size: 1004 Bytes

Contents

Notifiable.configure do |config|

  #
	# Rails Engine
  #
  
  # The controller class that the DeviceTokenController should extend
	config.api_controller_class = ApplicationController
  
  # The class representing the holder of the device
	config.user_class = User

  #
	# APNS
  #
  
  # The path to your apns private key
	config.apns_certificate = File.join(Rails.root, 'config', 'apns-development.pem')
  
  # The passphrase for your private key
  # Defaults to nil
	#config.apns_passphrase = 'YOUR-PASSPHRASE-HERE'
	
  # The apns gateway to use
  # Defaults to 'gateway.push.apple.com', can also be 'gateway.sandbox.push.apple.com'
  #config.apns_gateway = 'gateway.push.apple.com'
	
  #
	# GCM
  #
  
  # Your GCM API Key
	#config.gcm_api_key = 'YOUR-KEY-HERE'
  
  # The batch size
  # Defaults to 1000
  #config.gcm_batch_size = 1000
  
  #
  # Global
  #
  
  # Set the delivery method to test, preventing notifications from being sent
  # Defaults to :send
  #config.delivery_method = :test

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notifiable-rails-0.3.0 spec/test_app/config/initializers/notifiable.rb