Class: Apical::RackAdapter

Inherits:
Adapter
  • Object
show all
Includes:
Rack::Test::Methods
Defined in:
lib/apical/adapters/rack_adapter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Adapter

[], identifier

Constructor Details

#initialize(options = {}) ⇒ RackAdapter

Returns a new instance of RackAdapter.



9
10
11
# File 'lib/apical/adapters/rack_adapter.rb', line 9

def initialize(options={})
  @app = options[:app] 
end

Instance Attribute Details

#appObject (readonly)

Returns the value of attribute app.



13
14
15
# File 'lib/apical/adapters/rack_adapter.rb', line 13

def app
  @app
end