Module: Latta

Defined in:
lib/latta.rb,
lib/latta/railtie.rb,
lib/latta/version.rb,
lib/latta/middleware.rb,
lib/latta/configuration.rb,
lib/generators/latta/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Configuration, Error, Middleware, Railtie

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



59
60
61
# File 'lib/latta/configuration.rb', line 59

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

Class Method Details

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

Yields:



63
64
65
66
# File 'lib/latta/configuration.rb', line 63

def self.configure
  yield(configuration)
  configuration.fetch_instance_id
end