Sha256: 536c88bb6c89250c1ecf7f5b3d2f604cb70f43255266420f20be51039dba5833

Contents?: true

Size: 219 Bytes

Versions: 21

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true
require 'drillbit/matchers/generic'

module  Drillbit
module  Matchers
class   AcceptHeader
  include Generic

  def matches?(request)
    super

    accept_header.valid?
  end
end
end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
drillbit-2.11.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.10.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.9.1 lib/drillbit/matchers/accept_header.rb
drillbit-2.9.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.8.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.7.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.6.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.5.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.4.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.3.1 lib/drillbit/matchers/accept_header.rb
drillbit-2.3.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.2.2 lib/drillbit/matchers/accept_header.rb
drillbit-2.2.1 lib/drillbit/matchers/accept_header.rb
drillbit-2.2.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.1.0 lib/drillbit/matchers/accept_header.rb
drillbit-2.0.1 lib/drillbit/matchers/accept_header.rb
drillbit-2.0.0 lib/drillbit/matchers/accept_header.rb
drillbit-1.1.0 lib/drillbit/matchers/accept_header.rb
drillbit-1.0.1 lib/drillbit/matchers/accept_header.rb
drillbit-1.0.0 lib/drillbit/matchers/accept_header.rb