Module: Rhoconnect::Handler::Query

Defined in:
lib/rhoconnect/handler/query.rb,
lib/rhoconnect/handler/query/engine.rb,
lib/rhoconnect/handler/query/runner.rb,
lib/rhoconnect/handler/query/execute_methods.rb,
lib/rhoconnect/handler/query/pass_through_runner.rb

Defined Under Namespace

Modules: ExecuteMethods Classes: Engine, PassThroughRunner, Runner

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/rhoconnect/handler/query.rb', line 10

def self.registered(app)
 app.get "/", :rc_handler => :query, :login_required => true, :admin_required => false,
                :source_required => true, :client_required => true, 
                :deprecated_route => {:verb => :get, :url => ['/api/application', '/application', '/api/application/query']} do
 	  @model.query(params[:query])
 end
end