Module: Unleash::Admin

Defined in:
lib/unleash/admin.rb,
lib/unleash/admin/client.rb,
lib/unleash/admin/feature.rb,
lib/unleash/admin/project.rb,
lib/unleash/admin/version.rb,
lib/unleash/admin/environtment.rb,
lib/unleash/admin/configuration.rb

Defined Under Namespace

Classes: Client, Configuration, Environment, Error, Feature, Project

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject



11
12
13
# File 'lib/unleash/admin.rb', line 11

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



15
16
17
18
# File 'lib/unleash/admin.rb', line 15

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end