Sha256: 15833c466d1f31e67fee573707cf9171d2c314c4ad69d52845651e77433929a6

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

module ApiDoc

  module Config

    class << self

      def view_path
        @view_path ||= File.join(Rails.root, "app", "views", "api_docs").to_s
      end

      def view_path=(path)
        @view_path = path
      end

      def doc_title
        @doc_title ||= "API Documentation"
      end

      def doc_title=(title)
        @doc_title = title
      end

    end

  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
api_doc-0.0.11 lib/api_doc/config.rb
api_doc-0.0.10 lib/api_doc/config.rb
api_doc-0.0.9 lib/api_doc/config.rb
api_doc-0.0.7 lib/api_doc/config.rb