Class: Xing::Controllers::RootResourcesController
- Inherits:
-
Base
- Object
- ActionController::Base
- Base
- Xing::Controllers::RootResourcesController
- Defined in:
- lib/xing/controllers/root_resources_controller.rb
Instance Method Summary collapse
Methods inherited from Base
#check_format, #failed_to_process, #json_body, #parse_json, #successful_create
Instance Method Details
#index ⇒ Object
6 7 8 9 |
# File 'lib/xing/controllers/root_resources_controller.rb', line 6 def index @resources = rfc6570_routes(ignore: %w(format), path_only: true) render :json => Xing::Serializers::RootResources.new(@resources) end |