Sha256: 1051cd53fa52baf97284c372e19960c5db1688b796d7ada65901a3a0d4d9185c
Contents?: true
Size: 561 Bytes
Versions: 2
Compression:
Stored size: 561 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 # Configuration defaults def initialize @docs_path = Rails.root.join('doc/api') @base_controller = 'ApplicationController' @ignored_attributes = %w(created_at updated_at) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api_docs-1.0.1 | lib/api_docs/configuration.rb |
api_docs-1.0.0 | lib/api_docs/configuration.rb |