Class: ClientSideValidations::Middleware::Base
- Inherits:
-
Object
- Object
- ClientSideValidations::Middleware::Base
- Defined in:
- lib/client_side_validations/rails_2/middleware.rb
Instance Method Summary collapse
-
#initialize(env) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(env) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 |
# File 'lib/client_side_validations/rails_2/middleware.rb', line 9 def initialize(env) self.body = '' self.status = 200 self.request = ActionController::Request.new(env) end |