Module: ApiDoc

Defined in:
lib/apidoc.rb

Defined Under Namespace

Classes: Application, DeleteResource, GetResource, HtmlWriter, OptionsResource, PostResource, PutResource, Resource, Runner

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.appObject



16
# File 'lib/apidoc.rb', line 16

def app; @app; end

.new(app, &block) ⇒ Object



11
12
13
14
# File 'lib/apidoc.rb', line 11

def new(app, &block)
  @app = app
  Runner.new(&block)
end