Class: StubRequests::Configuration
- Includes:
- StubRequests::Concerns::Property
- Defined in:
- lib/stub_requests/configuration.rb
Overview
Class Configuration contains gem configuration
Instance Attribute Summary collapse
-
#jaro_options ⇒ Hash
Options to use for jaro winkler.
-
#logger ⇒ Logger
Any object that responds to the standard logger methods.
-
#record_stubs ⇒ Hash
Record_stubs set to true to keep track of stubs.
Method Summary
Methods included from StubRequests::Concerns::Property
Methods included from StubRequests::Concerns::ArgumentValidation
Instance Attribute Details
#jaro_options ⇒ Hash
Returns options to use for jaro winkler
28 29 30 31 32 |
# File 'lib/stub_requests/configuration.rb', line 28 property :jaro_options, type: Hash, default: { weight: 0.1, threshold: 0.7, ignore_case: true, } |
#logger ⇒ Logger
Returns any object that responds to the standard logger methods
36 |
# File 'lib/stub_requests/configuration.rb', line 36 property :logger, type: Logger |
#record_stubs ⇒ Hash
Returns record_stubs set to true to keep track of stubs
24 |
# File 'lib/stub_requests/configuration.rb', line 24 property :record_stubs, type: [TrueClass, FalseClass], default: false |