diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-14 14:08:14 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-01-14 14:08:14 +0100 |
commit | e65b7f04ce114affd6f1a3318c938f6a19fa1451 (patch) | |
tree | f39c29a0653b27c39fc53ba3bbe4f5caf43a96bb /application.rb | |
parent | 7a27e607b3b997b85e7ea62c3ab3464ae84030cb (diff) |
some commenting, reordering, creating examples without restclient
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application.rb b/application.rb index 55a7598..3625833 100644 --- a/application.rb +++ b/application.rb @@ -11,16 +11,19 @@ end require "example.rb" get '/examples/?' do + LOGGER.info "list examples" content_type "text/plain" Example.transform_example end get '/prepare_examples/?' do + LOGGER.info "prepare examples" content_type "text/plain" Example.prepare_example_resources end get '/test_examples/?' do + LOGGER.info "test examples" content_type "text/plain" Example.test_examples end @@ -28,7 +31,6 @@ end # order is important, first add example methods and reports, than validation # (otherwise sinatra will try to locate a validation with name examples or report) - require "report/report_application.rb" require "validation/validation_application.rb" |