Skip to content

Instantly share code, notes, and snippets.

@inakidelamadrid
Created December 31, 2016 20:01
Show Gist options
  • Save inakidelamadrid/18d82c8f4286ad6ce58160a7bb2e26bf to your computer and use it in GitHub Desktop.
Save inakidelamadrid/18d82c8f4286ad6ce58160a7bb2e26bf to your computer and use it in GitHub Desktop.
class TodoApp < Sinatra::Base
get '/tareas' do
@tareas = [{"tit" => "Leer", "hecho" => false, ["tit"=>"correr", "hecho" => false]}
end
if __FILE__ == $0
run!
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment