Server part of the radar query interface
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.autotest
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
query-interface-server.gemspec

README.md

Query Interface Server

query-interface-server provides a server implementation for query-interface-client.

Installation

$ gem install query-interface-server
require 'query-interface-server'

or use gem 'query-interface-server' in your Gemfile when using bundler.

##Examples

Include QueryInterface in a Controller

class UsersController < ApplicationController

  include QueryInterface::Server::Resource.for(User)

end

Add Route for Query

MyApplication::Application.routes.draw do

  resources :users, only: [] do
    collection do
      get :query
    end
  end

  #...

end