Class: SockJS::Endpoint::MethodMap
- Inherits:
-
Object
- Object
- SockJS::Endpoint::MethodMap
- Defined in:
- lib/sockjs/transport.rb
Instance Attribute Summary collapse
-
#method_map ⇒ Object
readonly
Returns the value of attribute method_map.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(map) ⇒ MethodMap
constructor
A new instance of MethodMap.
Constructor Details
#initialize(map) ⇒ MethodMap
Returns a new instance of MethodMap.
18 19 20 |
# File 'lib/sockjs/transport.rb', line 18 def initialize(map) @method_map = map end |
Instance Attribute Details
#method_map ⇒ Object (readonly)
Returns the value of attribute method_map.
21 22 23 |
# File 'lib/sockjs/transport.rb', line 21 def method_map @method_map end |