Exception: Route500Check::Errors::RouteLimitExceeded
- Inherits:
-
StandardError
- Object
- StandardError
- Route500Check::Errors::RouteLimitExceeded
- Defined in:
- lib/route_500_check/errors.rb
Instance Attribute Summary collapse
-
#actual ⇒ Object
readonly
Returns the value of attribute actual.
-
#limit ⇒ Object
readonly
Returns the value of attribute limit.
Instance Method Summary collapse
-
#initialize(actual:, limit:) ⇒ RouteLimitExceeded
constructor
A new instance of RouteLimitExceeded.
Constructor Details
#initialize(actual:, limit:) ⇒ RouteLimitExceeded
Returns a new instance of RouteLimitExceeded.
6 7 8 9 10 |
# File 'lib/route_500_check/errors.rb', line 6 def initialize(actual:, limit:) @actual = actual @limit = limit super() end |
Instance Attribute Details
#actual ⇒ Object (readonly)
Returns the value of attribute actual.
4 5 6 |
# File 'lib/route_500_check/errors.rb', line 4 def actual @actual end |
#limit ⇒ Object (readonly)
Returns the value of attribute limit.
4 5 6 |
# File 'lib/route_500_check/errors.rb', line 4 def limit @limit end |