Class: FastSubmissionProtection::FinishFilter
- Inherits:
-
Struct
- Object
- Struct
- FastSubmissionProtection::FinishFilter
- Defined in:
- lib/fast_submission_protection/controller.rb
Instance Attribute Summary collapse
-
#delay ⇒ Object
Returns the value of attribute delay.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#delay ⇒ Object
Returns the value of attribute delay
87 88 89 |
# File 'lib/fast_submission_protection/controller.rb', line 87 def delay @delay end |
#name ⇒ Object
Returns the value of attribute name
87 88 89 |
# File 'lib/fast_submission_protection/controller.rb', line 87 def name @name end |
Instance Method Details
#filter(controller) ⇒ Object
88 89 90 |
# File 'lib/fast_submission_protection/controller.rb', line 88 def filter controller controller.finish_timed_submission name, delay end |