Class: API::RootController

Inherits:
APIController show all
Defined in:
app/controllers/api/root_controller.rb

Overview

Controller for the root API resource.

Instance Method Summary collapse

Instance Method Details

#indexObject

Responds with the root API resource.


6
7
8
9
# File 'app/controllers/api/root_controller.rb', line 6

def index
  resource = {}
  respond_with resource
end