Sha256: 58fa01260991df0b1f6c0c4f1d3427ea74d6196f2d6f12f71f036cb79e2ec392
Contents?: true
Size: 280 Bytes
Versions: 1
Compression:
Stored size: 280 Bytes
Contents
module APIMatchers module Headers class Base def matches?(actual) @actual = actual actual.eql?(expected_content_type) end def expected_content_type raise NotImplementedError, "not implemented on #{self}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
api_matchers-0.0.1 | lib/api_matchers/headers/base.rb |