Sha256: 004a55b882197fff353f27aa7d9e897a7411554b573752f6688849d9977d693d
Contents?: true
Size: 800 Bytes
Versions: 3
Compression:
Stored size: 800 Bytes
Contents
o:$YARD::CodeObjects::MethodObject: @tags[ :@visibility:public:@signature"def after: @name: after:@namespaceu:YARD::StubProxy!Grape::Middleware::Formatter:@source"Jdef after status, headers, bodies = *@app_response bodymap = [] bodies.each do |body| bodymap << case env['api.format'] when :json encode_json(body) when :txt encode_txt(body) end end headers['Content-Type'] = 'application/json' Rack::Response.new(bodymap, status, headers).to_a end: @dynamicT:@source_type: ruby:@docstringIC:YARD::Docstring"