lib/centaman/json_wrapper.rb in centaman-7.0.3 vs lib/centaman/json_wrapper.rb in centaman-7.0.4

- old
+ new

@@ -26,10 +26,10 @@ def object_class raise "object_class is required for #{self.class.name}" end def final_object_class - name = self.class.name.split('::').last + name = object_class.name.split('::').last override = Centaman.configuration.object_overrides[name] override_class = override.constantize if override override_class || object_class end end