Class: RailsApiDoc::Controller::Response::Factory
- Inherits:
-
Object
- Object
- RailsApiDoc::Controller::Response::Factory
- Defined in:
- lib/rails_api_doc/controller/response/factory.rb
Overview
author: Vadim Shaveiko <@vshaveyko> :nodoc:
Class Method Summary collapse
- .controllers ⇒ Object
-
.repo ⇒ Object
TODO: add more options later depending on app settings TODO: rename to :load_repo.
Class Method Details
.controllers ⇒ Object
18 19 20 |
# File 'lib/rails_api_doc/controller/response/factory.rb', line 18 def controllers RailsApiDoc::Controller::Request::Factory.registered_controllers end |
.repo ⇒ Object
TODO: add more options later depending on app settings TODO: rename to :load_repo
10 11 12 13 14 15 16 |
# File 'lib/rails_api_doc/controller/response/factory.rb', line 10 def repo attributes = RailsApiDoc::Controller::Response::Repository.new(repository.repo) attributes = merge_attributes_from_model attributes attributes end |