Class: IscAnalytics::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/isc_analytics/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(providers, namespace, amd = false) ⇒ Config

Returns a new instance of Config.



6
7
8
9
# File 'lib/isc_analytics/config.rb', line 6

def initialize(providers, namespace, amd=false)
  @providers = providers
  @namespace = namespace
end

Instance Attribute Details

#namespaceObject

Returns the value of attribute namespace.



4
5
6
# File 'lib/isc_analytics/config.rb', line 4

def namespace
  @namespace
end

#providersObject

Returns the value of attribute providers.



4
5
6
# File 'lib/isc_analytics/config.rb', line 4

def providers
  @providers
end

Class Method Details

.defaultObject



11
12
13
# File 'lib/isc_analytics/config.rb', line 11

def self.default
  new(nil, nil)
end