Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f80ae5af6d
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.325 kb
class MerbRestServer::Rest < MerbRestServer::Application
provides :json
def index
""
end
def get
type = Object.full_const_get(params[:type].camel_case)
@object = type.get!(params[:id])
display @object
end
def post
""
end
def put
""
end
def delete
""
end
end
Jump to Line
Something went wrong with that request. Please try again.