Class: Restfulness::Dispatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/restfulness/dispatcher.rb

Direct Known Subclasses

Restfulness::Dispatchers::Rack

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(app) ⇒ Dispatcher

Returns a new instance of Dispatcher.



8
9
10
# File 'lib/restfulness/dispatcher.rb', line 8

def initialize(app)
  self.app = app
end

Instance Attribute Details

#appObject

Returns the value of attribute app.



6
7
8
# File 'lib/restfulness/dispatcher.rb', line 6

def app
  @app
end