Class: Constraints::Redirects

Inherits:
Object
  • Object
show all
Defined in:
lib/constraints/redirects.rb

Class Method Summary collapse

Class Method Details

.matches?(request) ⇒ Boolean

Returns:

  • (Boolean)

4
5
6
# File 'lib/constraints/redirects.rb', line 4

def self.matches?(request)
  Redirect.match(request)
end