From e693b2afb718189715bb378f8ec7316c64966371 Mon Sep 17 00:00:00 2001 From: Daniel Barber Date: Mon, 11 Nov 2019 09:40:48 -0500 Subject: [PATCH] Everything is in `lib` now --- micropub.rb | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 micropub.rb diff --git a/micropub.rb b/micropub.rb deleted file mode 100644 index 6876eff..0000000 --- a/micropub.rb +++ /dev/null @@ -1,20 +0,0 @@ -require "sinatra" -require "sinatra/json" - -require "./lib/post" - -post "/micropub" do - verify_token - - post = Post.new(params) - - if post.save! - status 201 - else - status 400 - end -end - -def verify_token - # verify token -end