Class: RazorRisk::Cassini::Applications::RouteVerbAdaptors::Capabilities::UserGet
- Inherits:
-
RESTFramework::VerbHandler
- Object
- RESTFramework::VerbHandler
- RazorRisk::Cassini::Applications::RouteVerbAdaptors::Capabilities::UserGet
- Includes:
- GetHandlerMixin
- Defined in:
- lib/razor_risk/cassini/applications/route_verb_adaptors/capabilities/user_get.rb
Overview
########################################################################## UserGet
Constant Summary collapse
- ROUTE_VARIABLES =
%w{ id }
Constants included from GetHandlerMixin
GetHandlerMixin::ErrorHeaders, GetHandlerMixin::HTTP_ACCEPTS, GetHandlerMixin::HTTP_VERB, GetHandlerMixin::QUERY_PARAMETERS
Instance Method Summary collapse
Instance Method Details
#handle(env, params, request, response) ⇒ Object
41 42 43 44 45 46 47 48 49 50 |
# File 'lib/razor_risk/cassini/applications/route_verb_adaptors/capabilities/user_get.rb', line 41 def handle env, params, request, response trace ParamNames[ :env, :params, :request, :response ], env, params, request, response id = params['id'] super do |ec| ec.get_user id, indicate_result_by: :qualified_result end end |