class HttpStub::Server::Stub::Empty
Constants
- INSTANCE
Attributes
match_rules[R]
response[R]
stub_id[R]
triggers[R]
uri[R]
Public Class Methods
new()
click to toggle source
# File lib/http_stub/server/stub/empty.rb, line 9 def initialize @stub_id = "" @uri = "" @match_rules = HttpStub::Server::Stub::Match::Rules::EMPTY @response = HttpStub::Server::Response::EMPTY @triggers = HttpStub::Server::Stub::Triggers::EMPTY end
Public Instance Methods
matches?(_criteria, _logger)
click to toggle source
# File lib/http_stub/server/stub/empty.rb, line 21 def matches?(_criteria, _logger) false end
response_for(_request)
click to toggle source
# File lib/http_stub/server/stub/empty.rb, line 25 def response_for(_request) self end
to_hash()
click to toggle source
# File lib/http_stub/server/stub/empty.rb, line 29 def to_hash {} end
to_s()
click to toggle source
# File lib/http_stub/server/stub/empty.rb, line 33 def to_s "" end