Exception: IPAccessDenied::Aggregate
- Inherits:
-
SecurityError
- Object
- SecurityError
- IPAccessDenied::Aggregate
show all
- Defined in:
- lib/ipaccess/ip_access_errors.rb
Overview
This class handles multiple IP access denied exception and behaves like a enumerable collection. It is used to collect and throw many errors at once.
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
263
264
265
|
# File 'lib/ipaccess/ip_access_errors.rb', line 263
def method_missing(name, *args, &block)
target.send(name, *args, &block)
end
|
Instance Method Details
#message ⇒ Object
273
274
275
|
# File 'lib/ipaccess/ip_access_errors.rb', line 273
def message
"some connections reported access denied"
end
|
#target ⇒ Object
268
269
270
|
# File 'lib/ipaccess/ip_access_errors.rb', line 268
def target
@target ||= []
end
|