Class: SockJS::Endpoint::MethodNotSupportedApp
- Inherits:
-
Object
- Object
- SockJS::Endpoint::MethodNotSupportedApp
- Defined in:
- lib/sockjs/transport.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(methods) ⇒ MethodNotSupportedApp
constructor
A new instance of MethodNotSupportedApp.
- #response ⇒ Object
Constructor Details
#initialize(methods) ⇒ MethodNotSupportedApp
Returns a new instance of MethodNotSupportedApp.
33 34 35 |
# File 'lib/sockjs/transport.rb', line 33 def initialize(methods) @allowed_methods = methods end |
Instance Method Details
#call(env) ⇒ Object
43 44 45 |
# File 'lib/sockjs/transport.rb', line 43 def call(env) return response end |