Sha256: 5a54b2ee6c7be76fe9fffc0d56dc488c80c8ac6160801da8a4ef51407e8b3a67

Contents?: true

Size: 135 Bytes

Versions: 2

Compression:

Stored size: 135 Bytes

Contents

class TodoApp
  def call env
    html = File.open("home.html", "rb")
    [200, {"Content-Type" => "text/html"}, [html.read]]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roadkill-0.0.2 files/sample_app/todo_app.rb
roadkill-0.0.1 files/sample_app/todo_app.rb