Sha256: 0dd9b8e28fb08ce0d9c913e7ea9efa700f7aad47aa662f9cb4acdf359c7a69f7

Contents?: true

Size: 876 Bytes

Versions: 11

Compression:

Stored size: 876 Bytes

Contents

require 'tomograph'

module Fitting
  class Configuration
    class Legacy
      attr_accessor :apib_path,
                    :drafter_yaml_path,
                    :strict,
                    :prefix,
                    :white_list,
                    :resource_white_list,
                    :ignore_list,
                    :include_resources,
                    :include_actions

      def initialize
        @strict = false
        @prefix = ''
        @ignore_list = []
      end

      def tomogram
        @tomogram ||= Tomograph::Tomogram.new(
          prefix: @prefix,
          apib_path: @apib_path,
          drafter_yaml_path: @drafter_yaml_path
        )
      end

      def title
        'fitting'
      end

      def stats_path
        'fitting/stats'
      end

      def not_covered_path
        'fitting/not_covered'
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fitting-2.9.1 lib/fitting/configuration/legacy.rb
fitting-2.9.0 lib/fitting/configuration/legacy.rb
fitting-2.8.1 lib/fitting/configuration/legacy.rb
fitting-2.8.0 lib/fitting/configuration/legacy.rb
fitting-2.7.2 lib/fitting/configuration/legacy.rb
fitting-2.7.1 lib/fitting/configuration/legacy.rb
fitting-2.7.0 lib/fitting/configuration/legacy.rb
fitting-2.6.0 lib/fitting/configuration/legacy.rb
fitting-2.5.0 lib/fitting/configuration/legacy.rb
fitting-2.4.1 lib/fitting/configuration/legacy.rb
fitting-2.4.0 lib/fitting/configuration/legacy.rb