Sha256: dd12ceb118c179e69d0cef54726240147feb79d5e5f44aed9ea9f47ea1a86fe7
Contents?: true
Size: 1.1 KB
Versions: 11
Compression:
Stored size: 1.1 KB
Contents
require 'httparty' require 'responders' require 'jquery-rails' require 'kaminari' require 'jera_push/engine' require 'jera_push/firebase/client' require 'jera_push/firebase/api_result' require 'jera_push/services/send_message' module JeraPush autoload :Device, 'jera_push/models/device.rb' autoload :Message, 'jera_push/models/message.rb' autoload :MessageDevice, 'jera_push/models/message_device.rb' autoload :DeviceFilter, 'jera_push/models/device_filter.rb' mattr_accessor :firebase_api_key @@firebase_api_key = nil mattr_accessor :default_topic @@default_topic = 'jera_push_development' mattr_accessor :resources_name @@resources_name = nil mattr_accessor :resource_attributes @@resource_attributes = [] mattr_accessor :admin_login @@resources_name = { username: 'jera_push', password: 'JeraPushAdmin' } def self.setup yield self end def self.topic_android @@android_topic ||= "#{@@default_topic}_android" end def self.topic_ios @@ios_topic ||= "#{@@default_topic}_ios" end def self.topic_chrome @@chrome_topic ||= "#{@@default_topic}_chrome" end end
Version data entries
11 entries across 11 versions & 1 rubygems