Class: Apill::Matchers::AcceptHeaderMatcher

Inherits:
Object
  • Object
show all
Includes:
GenericMatcher
Defined in:
lib/apill/matchers/accept_header_matcher.rb

Instance Attribute Summary

Attributes included from GenericMatcher

#accept_header, #application

Instance Method Summary collapse

Methods included from GenericMatcher

#initialize

Instance Method Details

#matches?(request) ⇒ Boolean



8
9
10
11
12
# File 'lib/apill/matchers/accept_header_matcher.rb', line 8

def matches?(request)
  super

  accept_header.valid?
end