Sha256: 43812373878bf13dabfbe1dcb1061e63d31f7689b936e5a227bc4d26aef165de
Contents?: true
Size: 1.13 KB
Versions: 4
Compression:
Stored size: 1.13 KB
Contents
module Adminpanel class Engine < ::Rails::Engine isolate_namespace Adminpanel end class << self mattr_accessor :analytics_profile_id, :analytics_key_path, :analytics_key_filename, :analytics_account_email, :analytics_application_name, :analytics_application_version, :displayable_resources, :fb_app_id, :fb_app_secret, :twitter_api_key, :twitter_api_secret, :instagram_client_id, :instagram_client_secret self.analytics_profile_id = nil self.analytics_key_path = 'config/analytics' self.analytics_key_filename = nil self.analytics_account_email = nil self.analytics_application_name = 'AdminPanel' self.analytics_application_version = '1.0.0' self.twitter_api_key = nil self.twitter_api_secret = nil self.displayable_resources = [ :analytics, :users, :galleries, :sections ] self.fb_app_id = nil self.fb_app_secret = nil self.twitter_api_key = nil self.twitter_api_secret = nil self.instagram_client_id = nil self.instagram_client_secret = nil end def self.setup(&block) yield self end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
adminpanel-2.2.5 | lib/adminpanel/engine.rb |
adminpanel-2.2.4 | lib/adminpanel/engine.rb |
adminpanel-2.2.3 | lib/adminpanel/engine.rb |
adminpanel-2.2.2 | lib/adminpanel/engine.rb |