class MagLoft::Transformable
Public Instance Methods
transform_attributes_to_object(entity_class_or_decider, attributes)
click to toggle source
Calls superclass method
# File lib/magloft/transformable.rb, line 3 def transform_attributes_to_object(entity_class_or_decider, attributes) super.clear_changed_data! end
transform_to_existing(entity)
click to toggle source
# File lib/magloft/transformable.rb, line 7 def transform_to_existing(entity) Dialers::AssignAttributes.call(entity, raw_data) end