Sha256: 7695f091c177d6812a1d31acb2e35fa1e15b20ebb1e94c679d2996177bf79be6
Contents?: true
Size: 946 Bytes
Versions: 1
Compression:
Stored size: 946 Bytes
Contents
#this is the intilizer #here you will set up the jera push configuration JeraPush.setup do |config| config.firebase_api_key = "YOUR_API_KEY" # Change this for every new model config.resources_name = ["<%= file_name.classify %>"] config.project_name = "YOUR_PROJECT_NAME" config.credentials_path = "YOUR_CREDENTIALS_PATH" #https://firebase.google.com/docs/cloud-messaging/migrate-v1?hl=pt-br#provide-credentials-manually ###################################################### # Resource attribute showed in views # # IMPORTANT: All models need to have this attributes # # config.resource_attributes = [:email, :name] # ###################################################### # Topic default # You should put with your environment config.default_topic = 'jera_push_development' # Admin credentials # config.admin_login = { # username: 'jera_push', # password: 'JeraPushAdmin' # } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jera_push-2.0.0 | lib/generators/jera_push/templates/jera_push.rb |