Exception: Grape::Entity::Deprecated
- Inherits:
-
StandardError
- Object
- StandardError
- Grape::Entity::Deprecated
- Defined in:
- lib/grape_entity/deprecated.rb
Instance Method Summary collapse
-
#initialize(msg, spec) ⇒ Deprecated
constructor
A new instance of Deprecated.
Constructor Details
#initialize(msg, spec) ⇒ Deprecated
Returns a new instance of Deprecated.
6 7 8 9 10 |
# File 'lib/grape_entity/deprecated.rb', line 6 def initialize(msg, spec) = "DEPRECATED #{spec}: #{msg}" super() end |