Class: AbPanel::Mixpanel::Config
- Inherits:
-
Object
- Object
- AbPanel::Mixpanel::Config
- Defined in:
- lib/ab_panel/mixpanel.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
53 54 55 |
# File 'lib/ab_panel/mixpanel.rb', line 53 def self.config @settings ||= load_config end |
.environments ⇒ Object
49 50 51 |
# File 'lib/ab_panel/mixpanel.rb', line 49 def self.environments config.keys end |
.token ⇒ Object
45 46 47 |
# File 'lib/ab_panel/mixpanel.rb', line 45 def self.token config[Rails.env]['token'] end |