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":@objectu;
'Grape::Middleware::Formatter#after;[:@ref_tags[:
@summary0:	@all":@line_range0:@scope:
instance:
@lineiQ:@explicitT:@parameters[:@files[["&lib/grape/middleware/formatter.rbiQ:@current_file_has_commentsF

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grape-0.1.5 .yardoc/objects/Grape/Middleware/Formatter/after_i.dat
grape-0.1.4 .yardoc/objects/Grape/Middleware/Formatter/after_i.dat
grape-0.1.3 .yardoc/objects/Grape/Middleware/Formatter/after_i.dat