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 # Configuration defaults def initialize @docs_path = Rails.root.join('doc/api') @base_controller = 'ApplicationController' @ignored_attributes = %w(created_at updated_at) end end