Module: Flyer

Defined in:
lib/flyer.rb,
lib/flyer/errors.rb,
lib/flyer/version.rb,
lib/flyer/configure.rb

Defined Under Namespace

Modules: ControllerAdditions Classes: Configure, FoundNonUniqueIds, IdMissingError, MessageMissingError, Notification, PathNotGivenError, ViewObject

Constant Summary collapse

VERSION =
"1.1.2"

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object



2
3
4
# File 'lib/flyer/configure.rb', line 2

def self.configure(&block)
  block.call(settings)
end

.settingsObject



6
7
8
# File 'lib/flyer/configure.rb', line 6

def self.settings
  @_settings ||= Configure.new
end