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



286
287
288
# File 'lib/belt/route_dsl.rb', line 286

def routes
  Routes.new
end

#schemaObject



290
291
292
# File 'lib/belt/route_dsl.rb', line 290

def schema
  @schema ||= SchemaBuilder.new
end