Module: Fastr::Filter::ClassMethods

Defined in:
lib/fastr/filter.rb

Instance Method Summary collapse

Instance Method Details

#after_filter(*args) ⇒ Object



112
113
114
# File 'lib/fastr/filter.rb', line 112

def after_filter(*args)
  add_filter(:after, *args)
end

#before_filter(*args) ⇒ Object



108
109
110
# File 'lib/fastr/filter.rb', line 108

def before_filter(*args)
  add_filter(:before, *args)
end