Module: ActiveObject::Serialization::ClassMethods

Defined in:
lib/active_object/serializers/json_serializer.rb

Instance Method Summary collapse

Instance Method Details

#json_class_nameObject



70
71
72
# File 'lib/active_object/serializers/json_serializer.rb', line 70

def json_class_name
  @json_class_name ||= name.demodulize.underscore.inspect
end