Class: Riot::Gear::RiotPartyMiddleware
- Inherits:
-
ContextMiddleware
- Object
- ContextMiddleware
- Riot::Gear::RiotPartyMiddleware
- Defined in:
- lib/riot/gear/middleware/riotparty.rb
Overview
bound to another context.
Instance Method Summary collapse
-
#call(context) ⇒ Object
Prepares the context for HTTParty support.
Instance Method Details
#call(context) ⇒ Object
Prepares the context for HTTParty support.
14 15 16 17 18 19 20 |
# File 'lib/riot/gear/middleware/riotparty.rb', line 14 def call(context) setup_faux_class(context) setup_helpers(context) proxy_action_methods(context) proxy_httparty_hookups(context) middleware.call(context) end |