Sha256: a1ff55c5a59952c14e5736bff60ed398ef3289b941a5fc3bd783f7186fca066d

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

# rubocop:disable Style/FrozenStringLiteralComment

module TCR
  class Configuration
    attr_accessor :cassette_library_dir, :hook_tcp_ports, :block_for_reads, :format, :hit_all

    def initialize
      reset_defaults!
    end

    def reset_defaults!
      @cassette_library_dir = 'fixtures/tcr_cassettes'
      @hook_tcp_ports = []
      @block_for_reads = false
      @format = 'json'
      @hit_all = false
    end
  end
end

# rubocop:enable Style/FrozenStringLiteralComment

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tcr_revived-0.3.2 lib/tcr/configuration.rb
tcr_revived-0.3.1 lib/tcr/configuration.rb
tcr_revived-0.3.0 lib/tcr/configuration.rb