Class: Strum::Json::SerializerClass
- Inherits:
-
Object
- Object
- Strum::Json::SerializerClass
- Includes:
- Service
- Defined in:
- lib/strum/json/serializer_class.rb
Instance Method Summary collapse
Instance Method Details
#audit ⇒ Object
16 17 18 |
# File 'lib/strum/json/serializer_class.rb', line 16 def audit required(:name) end |
#call ⇒ Object
10 11 12 13 14 |
# File 'lib/strum/json/serializer_class.rb', line 10 def call output(Kernel.const_get("#{name}Serializer")) rescue StandardError => e add_error(:serializer, e) end |