Sha256: 818983fa3f6a48360f7b776d96b281a8920af3d25283ed353ddfb76c50894c8a
Contents?: true
Size: 693 Bytes
Versions: 5
Compression:
Stored size: 693 Bytes
Contents
class ApiDocs::Configuration # Where to find the folder with documentation files attr_accessor :docs_path # Controller that ApiDocs::DocsController inherits from attr_accessor :base_controller # Array of ignored attributes. Attributes that don't really change # the content like timestamps. attr_accessor :ignored_attributes # Remove doc files before running tests. False by default. attr_accessor :reload_docs_folder # Configuration defaults def initialize @docs_path = Rails.root.join('doc/api') @base_controller = 'ApplicationController' @ignored_attributes = %w(created_at updated_at) @reload_docs_folder = false end end
Version data entries
5 entries across 5 versions & 1 rubygems