diff options
Diffstat (limited to 'app.rb')
| -rw-r--r-- | app.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,4 +42,9 @@ class App < Sinatra::Base contextio = FancyBear::ContextIO::Message.new('sellevate.hack@gmail.com') json contextio.all end + + get '/messages/:id.json' do + contextio = FancyBear::ContextIO::Message.new('sellevate.hack@gmail.com') + json contextio.get(params[:id]) + end end |
