Class: Grape::Entity
- Inherits:
-
Object
- Object
- Grape::Entity
- Defined in:
- lib/napa/deprecations/grape_entity.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.inherited(subclass) ⇒ Object
2 3 4 |
# File 'lib/napa/deprecations/grape_entity.rb', line 2 def self.inherited(subclass) ActiveSupport::Deprecation.warn 'Use of Grape::Entity is discouraged, please transition your code to Roar representers - https://github.com/bellycard/napa/blob/master/docs/grape_entity_to_roar.md', caller end |