Class: Jets::Shim::Response::Alb
- Defined in:
- lib/jets/shim/response/alb.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Util::Truthy
Methods included from Util::Logging
Constructor Details
This class inherits a constructor from Jets::Shim::Response::Base
Instance Method Details
#translate ⇒ Object
3 4 5 6 7 8 |
# File 'lib/jets/shim/response/alb.rb', line 3 def translate hash = super desc = Rack::Utils::HTTP_STATUS_CODES[hash[:statusCode]] hash[:statusDescription] = "#{hash[:statusCode]} #{desc}" hash end |