Sha256: 525caed729fc55538ad8f21bfb5f6c76434a86784dac6f8d9316f77ba9c2dfdc

Contents?: true

Size: 355 Bytes

Versions: 7

Compression:

Stored size: 355 Bytes

Contents

# You can configure documented headers.
#
# Examples
#
#   # response.headers["X-Content-Type-Options"] will be documented.
#   Autodoc.configuration.headers << "X-Content-Type-Options"
#
module Autodoc
  class Configuration
    attr_accessor :headers

    def initialize
      reset
    end

    def reset
      @headers = %w[location]
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
autodoc-0.1.0 lib/autodoc/configuration.rb
autodoc-0.0.9 lib/autodoc/configuration.rb
autodoc-0.0.8 lib/autodoc/configuration.rb
autodoc-0.0.7 lib/autodoc/configuration.rb
autodoc-0.0.6 lib/autodoc/configuration.rb
autodoc-0.0.5 lib/autodoc/configuration.rb
autodoc-0.0.4 lib/autodoc/configuration.rb