Class: Belt::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/belt/route_dsl.rb

Overview

Application object providing Rails-style Belt.application.routes.draw DSL.

Defined Under Namespace

Classes: RouteBuilder, Routes

Instance Method Summary collapse

Instance Method Details

#routesObject



292
293
294
# File 'lib/belt/route_dsl.rb', line 292

def routes
  Routes.new
end

#schemaObject



296
297
298
# File 'lib/belt/route_dsl.rb', line 296

def schema
  @schema ||= SchemaBuilder.new
end