Class: Apple::App::Site::Association

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/apple/app/site/association.rb

Defined Under Namespace

Classes: Config

Class Method Summary collapse

Class Method Details

.configObject



32
33
34
# File 'lib/apple/app/site/association.rb', line 32

def self.config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



36
37
38
# File 'lib/apple/app/site/association.rb', line 36

def self.configure
  yield(config) if block_given?
end