Sha256: 691f5f2ff231e9887fac23de87a5b0a546b7d209b395668abfb4b2d4d71bca10
Contents?: true
Size: 370 Bytes
Versions: 6
Compression:
Stored size: 370 Bytes
Contents
require 'rack' module Dox module Formatters class Multipart def initialize(http_env) @http_env = http_env end def format JSON.pretty_generate(extracted_multipart) end private def extracted_multipart Rack::Multipart.extract_multipart(http_env) end attr_reader :http_env end end end
Version data entries
6 entries across 6 versions & 1 rubygems