Module: ApiTaster

Defined in:
lib/api_taster.rb,
lib/api_taster/route.rb,
lib/api_taster/engine.rb,
lib/api_taster/mapper.rb,
lib/api_taster/version.rb,
lib/api_taster/form_builder.rb,
app/helpers/api_taster/application_helper.rb,
app/controllers/api_taster/routes_controller.rb,
app/controllers/api_taster/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper Classes: ApplicationController, Engine, Exception, FormBuilder, Mapper, Route, RoutesController

Constant Summary collapse

VERSION =
"0.4.6"

Class Method Summary collapse

Class Method Details

.routes(&block) ⇒ Object



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

def self.routes(&block)
  Route.mappings = Proc.new { block }
end