Class: Rack::Attack::BannedIp
- Inherits:
-
Object
- Object
- Rack::Attack::BannedIp
- Includes:
- ActiveModel::Model, ActiveModel::Validations
- Defined in:
- lib/rack/attack_extensions.rb
Instance Attribute Summary collapse
-
#bantime ⇒ Object
Returns the value of attribute bantime.
-
#ip ⇒ Object
include ActiveModel::Attributes.
Instance Attribute Details
#bantime ⇒ Object
Returns the value of attribute bantime.
321 322 323 |
# File 'lib/rack/attack_extensions.rb', line 321 def bantime @bantime end |
#ip ⇒ Object
include ActiveModel::Attributes
320 321 322 |
# File 'lib/rack/attack_extensions.rb', line 320 def ip @ip end |