Sha256: 9631b2f9c13ff448a0e89e087520934c6dbdbce0654bdcf30bf8004bcc0c1c11

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

require 'json'
require 'fozzie/mill'

module Fozzie
  module Rails
    class Engine < ::Rails::Engine

      endpoint Proc.new { |env|
        Fozzie::Mill.register(env['QUERY_STRING'].gsub('d=', ''))
        [201, {"Content-Type" => "text/html"}, [""]]
      }

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fozzie-0.0.27 lib/fozzie/rails/engine.rb
fozzie-0.0.26 lib/fozzie/rails/engine.rb
fozzie-0.0.25 lib/fozzie/rails/engine.rb
fozzie-0.0.24 lib/fozzie/rails/engine.rb
fozzie-0.0.23 lib/fozzie/rails/engine.rb
fozzie-0.0.22 lib/fozzie/rails/engine.rb
fozzie-0.0.21 lib/fozzie/rails/engine.rb