class Rack::BearerAuth::MatchPattern::Base

Attributes

pattern[R]

Public Class Methods

new(pattern) click to toggle source
# File lib/rack/bearer_auth/match_pattern.rb, line 32
def initialize(pattern)
  @pattern = pattern
end
new(*) click to toggle source
Calls superclass method
# File lib/rack/bearer_auth/match_pattern.rb, line 40
def self.new(*)
  if self == Base
    raise ::NotImplementedError,
          "#{self} is an abstract class and cannot be instantiated."
  end
  super
end

Public Instance Methods

match?(*) click to toggle source
# File lib/rack/bearer_auth/match_pattern.rb, line 36
def match?(*)
  raise ::NotImplementedError
end