Sha256: a90f7c4a317c0d6b076629db7c6bf8a25d6bf5d90c072339b13599799f7d8ab5

Contents?: true

Size: 1.08 KB

Versions: 12

Compression:

Stored size: 1.08 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 = [
      :users
    ]

    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

12 entries across 12 versions & 1 rubygems

Version Path
adminpanel-3.3.0 lib/adminpanel/engine.rb
adminpanel-3.2.1 lib/adminpanel/engine.rb
adminpanel-3.2.0 lib/adminpanel/engine.rb
adminpanel-3.1.0 lib/adminpanel/engine.rb
adminpanel-3.0.0 lib/adminpanel/engine.rb
adminpanel-2.6.1 lib/adminpanel/engine.rb
adminpanel-2.6.0 lib/adminpanel/engine.rb
adminpanel-2.5.5 lib/adminpanel/engine.rb
adminpanel-2.5.4 lib/adminpanel/engine.rb
adminpanel-2.5.3 lib/adminpanel/engine.rb
adminpanel-2.5.2 lib/adminpanel/engine.rb
adminpanel-2.5.1 lib/adminpanel/engine.rb