Exception: Mongoid::Errors::AggregationNameDeprecated
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Mongoid::Errors::AggregationNameDeprecated
- Defined in:
- lib/gator/errors.rb
Instance Method Summary collapse
-
#initialize(token) ⇒ AggregationNameDeprecated
constructor
A new instance of AggregationNameDeprecated.
- #message ⇒ Object
Constructor Details
#initialize(token) ⇒ AggregationNameDeprecated
Returns a new instance of AggregationNameDeprecated.
25 26 27 |
# File 'lib/gator/errors.rb', line 25 def initialize(token) @token = token end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/gator/errors.rb', line 28 def "Ussing aggregation name '#{@klass}' is deprecated. Please select another name." end |