Class: MediaTypes::Serialization::Base
- Inherits:
-
Object
- Object
- MediaTypes::Serialization::Base
- Defined in:
- lib/media_types/serialization/base.rb
Direct Known Subclasses
Serializers::ApiViewer, Serializers::EndpointDescriptionSerializer, Serializers::FallbackNotAcceptableSerializer, Serializers::FallbackUnsupportedMediaTypeSerializer, Serializers::InputValidationErrorSerializer, Serializers::ProblemSerializer
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.inherited(subclass) ⇒ Object
253 254 255 256 257 258 259 260 261 262 263 264 265 266 |
# File 'lib/media_types/serialization/base.rb', line 253 def self.inherited(subclass) super subclass.extend(ClassMethods) subclass.instance_eval do class << self attr_accessor :serializer_validated attr_accessor :serializer_validator attr_accessor :serializer_input_registrations attr_accessor :serializer_output_registrations attr_accessor :serializer_disable_wildcards end end end |