class HttpStub::Server::Stub::Match::Rule::Parameters
Public Class Methods
new(parameters)
click to toggle source
Calls superclass method
HttpStub::Extensions::Core::Hash::Formatted::new
# File lib/http_stub/server/stub/match/rule/parameters.rb, line 10 def initialize(parameters) super(parameters || {}, "=", "&") end
Public Instance Methods
matches?(request, _logger)
click to toggle source
# File lib/http_stub/server/stub/match/rule/parameters.rb, line 14 def matches?(request, _logger) HttpStub::Server::Stub::Match::HashMatcher.match?(self, request.parameters) end