lib/interpol/stub_app.rb in interpol-0.2.2 vs lib/interpol/stub_app.rb in interpol-0.3.0

- old
+ new

@@ -31,10 +31,10 @@ # configuration. class Builder attr_reader :app def initialize(config) - @app = Sinatra.new do + @app = ::Sinatra.new do set :interpol_config, config helpers Helpers not_found { JSON.dump(:error => "The requested resource could not be found") } before { content_type "application/json;charset=utf-8" } get('/__ping') { JSON.dump(:message => "Interpol stub app running.") }