Class: VCR::RequestMatcherRegistry::Matcher
- Inherits:
-
Struct
- Object
- Struct
- VCR::RequestMatcherRegistry::Matcher
- Defined in:
- lib/vcr/request_matcher_registry.rb
Instance Attribute Summary collapse
-
#callable ⇒ Object
Returns the value of attribute callable.
Instance Method Summary collapse
Instance Attribute Details
#callable ⇒ Object
Returns the value of attribute callable
12 13 14 |
# File 'lib/vcr/request_matcher_registry.rb', line 12 def callable @callable end |
Instance Method Details
#matches?(request_1, request_2) ⇒ Boolean
13 14 15 |
# File 'lib/vcr/request_matcher_registry.rb', line 13 def matches?(request_1, request_2) callable.call(request_1, request_2) end |