Module: Clever

Defined in:
lib/clever.rb,
lib/clever/version.rb,
lib/generators/crocodoc.rb,
lib/clever/configuration.rb,
lib/generators/clever/install_generator.rb

Defined Under Namespace

Modules: Endpoints, Generators, Models Classes: API, Configuration, Error, FakeJson, FakeResponse, FakeServer

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configObject



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

def config
  @config
end

.configure {|@config ||= Configuration.new| ... } ⇒ Object

Yields:



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

def configure(&block)
  yield @config ||= Configuration.new
end