Class: Apill::Matchers::AcceptHeader
- Inherits:
-
Object
- Object
- Apill::Matchers::AcceptHeader
- Includes:
- Generic
- Defined in:
- lib/apill/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
8 9 10 11 12 |
# File 'lib/apill/matchers/accept_header.rb', line 8 def matches?(request) super accept_header.valid? end |