Class: TShield::BeforeFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/tshield/before_filter.rb

Overview

Example: def filter(method, url, options)

[method, url, options]

end

Instance Method Summary collapse

Instance Method Details

#filter(_method, _url, _options) ⇒ Object



9
10
11
# File 'lib/tshield/before_filter.rb', line 9

def filter(_method, _url, _options)
  raise 'should implement method filter and returns method, url, options'
end