Class: Drillbit::Matchers::AcceptHeader
- Inherits:
-
Object
- Object
- Drillbit::Matchers::AcceptHeader
- Includes:
- Generic
- Defined in:
- lib/drillbit/matchers/accept_header.rb
Instance Attribute Summary
Attributes included from Generic
#accept_header, #application, #request
Instance Method Summary collapse
Methods included from Generic
Instance Method Details
#matches?(request) ⇒ Boolean
10 11 12 13 14 |
# File 'lib/drillbit/matchers/accept_header.rb', line 10 def matches?(request) super accept_header.valid? end |