Class: Sqreen::Rules::RailsParametersCB
- Inherits:
-
RuleCB
- Object
- CB
- FrameworkCB
- RuleCB
- Sqreen::Rules::RailsParametersCB
- Defined in:
- lib/sqreen/rules/rails_parameters_cb.rb
Constant Summary
Constants inherited from RuleCB
Sqreen::Rules::RuleCB::DEFAULT_PAYLOAD
Constants included from CallCountable
CallCountable::COUNT_CALLS, CallCountable::FAILING, CallCountable::POST, CallCountable::PRE
Constants inherited from CB
Instance Attribute Summary
Attributes inherited from RuleCB
Attributes included from CallCountable
#call_count_interval, #call_counts
Attributes inherited from FrameworkCB
Attributes inherited from CB
#klass, #method, #overtimeable
Instance Method Summary collapse
Methods inherited from RuleCB
#advise_action, #initialize, #overtime!, #priority, #record_event, #record_exception, #rule_name, #rulespack_id
Methods included from CallCountable
#count_callback_calls, #failing_with_count, #post_with_count, #pre_with_count
Methods included from Conditionable
#condition_callbacks, #failing_with_conditions, #post_with_conditions, #pre_with_conditions
Methods inherited from FrameworkCB
#record_observation, #whitelisted?
Methods inherited from CB
#failing?, #framework, #initialize, #overtime!, #post?, #pre?, #priority, #to_s, #whitelisted?
Constructor Details
This class inherits a constructor from Sqreen::Rules::RuleCB
Instance Method Details
#pre(_inst, _args, _budget = nil, &_block) ⇒ Object
11 12 13 |
# File 'lib/sqreen/rules/rails_parameters_cb.rb', line 11 def pre(_inst, _args, _budget = nil, &_block) advise_action(nil) end |