Class: Rack::App::Endpoint::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/app/endpoint/builder.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Builder

Returns a new instance of Builder.



5
6
7
# File 'lib/rack/app/endpoint/builder.rb', line 5

def initialize(config)
  @config = config
end

Instance Method Details

#to_appObject



9
10
11
# File 'lib/rack/app/endpoint/builder.rb', line 9

def to_app
  build.to_app
end