Module: ApiDoc::Config
- Defined in:
- lib/api_doc/config.rb
Class Method Summary collapse
Class Method Details
.doc_title ⇒ Object
15 16 17 |
# File 'lib/api_doc/config.rb', line 15 def doc_title @doc_title ||= "API Documentation" end |
.doc_title=(title) ⇒ Object
19 20 21 |
# File 'lib/api_doc/config.rb', line 19 def doc_title=(title) @doc_title = title end |
.view_path ⇒ Object
7 8 9 |
# File 'lib/api_doc/config.rb', line 7 def view_path @view_path ||= File.join(Rails.root, "app", "views", "api_docs").to_s end |
.view_path=(path) ⇒ Object
11 12 13 |
# File 'lib/api_doc/config.rb', line 11 def view_path=(path) @view_path = path end |