Module: Footprinted

Defined in:
lib/footprinted.rb,
lib/footprinted/model.rb,
lib/footprinted/railtie.rb,
lib/footprinted/version.rb,
lib/footprinted/configuration.rb,
lib/footprinted/trackable_activity.rb,
lib/generators/footprinted/install_generator.rb

Defined Under Namespace

Modules: Generators, Model Classes: Configuration, Error, Railtie, TrackableActivity

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



15
16
17
# File 'lib/footprinted.rb', line 15

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



19
20
21
# File 'lib/footprinted.rb', line 19

def self.configure
  yield(configuration)
end

.resetObject



23
24
25
# File 'lib/footprinted.rb', line 23

def self.reset
  @configuration = Configuration.new
end