Sha256: 9d31d5e0e8f1708f43f912e65493917544cba5390bf61b22e770dd0df43404ac

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

# author: Vadim Shaveiko <@vshaveyko>
# frozen_string_literal: true
require 'rails_api_doc/config'

module RailsApiDoc

  class << self

    def configure
      yield configuration
    end

    def configuration
      @_configuration ||= Config.new
    end

    def reset_configuration
      @_configuration = nil
    end

  end

end

require 'rails_api_doc/version'
require 'rails_api_doc/engine'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_api_documentation-0.2.2 lib/rails_api_doc.rb
rails_api_documentation-0.2.1 lib/rails_api_doc.rb
rails_api_documentation-0.2.0 lib/rails_api_doc.rb