Exception: Served::Resource::InvalidAttributeSerializer
- Inherits:
-
Error
- Object
- StandardError
- Base::ServiceError
- Error
- Served::Resource::InvalidAttributeSerializer
- Defined in:
- lib/served/resource/invalid_attribute_serializer.rb
Instance Method Summary collapse
-
#initialize(s) ⇒ InvalidAttributeSerializer
constructor
A new instance of InvalidAttributeSerializer.
Constructor Details
#initialize(s) ⇒ InvalidAttributeSerializer
Returns a new instance of InvalidAttributeSerializer.
4 5 6 |
# File 'lib/served/resource/invalid_attribute_serializer.rb', line 4 def initialize(s) super "'#{s}' attribute serializer does not exist" end |