Module: Ponch

Defined in:
lib/ponch.rb,
lib/ponch/config.rb,
lib/ponch/engine.rb,
lib/ponch/version.rb,
lib/ponch/middleware.rb,
lib/ponch/interceptor.rb,
app/models/ponch/delivery.rb,
lib/generators/ponch/deliveries_generator.rb

Defined Under Namespace

Modules: Generators Classes: Config, Delivery, Engine, Interceptor, Middleware, TrackingController

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.config {|@config| ... } ⇒ Object

Yields:



8
9
10
11
12
# File 'lib/ponch.rb', line 8

def config
  @config ||= Ponch::Config.new
  yield(@config) if block_given?
  @config
end