Module: Estated

Defined in:
lib/estated.rb,
lib/estated/client.rb,
lib/estated/config.rb,
lib/estated/version.rb

Defined Under Namespace

Classes: Client, Config

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.configObject



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

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

.config=(config) ⇒ Object



10
11
12
# File 'lib/estated.rb', line 10

def self.config=(config)
  @config = config
end

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

Yields:



14
15
16
# File 'lib/estated.rb', line 14

def self.configure
  yield(config)
end