Class: Rack::BearerAuth::MatchPattern::Via

Inherits:
Base
  • Object
show all
Defined in:
lib/rack/bearer_auth/match_pattern.rb

Instance Attribute Summary

Attributes inherited from Base

#pattern

Instance Method Summary collapse

Methods inherited from Base

#initialize, new

Constructor Details

This class inherits a constructor from Rack::BearerAuth::MatchPattern::Base

Instance Method Details

#match?(via) ⇒ Boolean

Returns:

  • (Boolean)


75
76
77
# File 'lib/rack/bearer_auth/match_pattern.rb', line 75

def match?(via)
  _match?(self.pattern, via)
end