spec/models/remote_phone_call_event_spec.rb
def phone_call
          @phone_call ||= begin
            phone_call = super
            phone_call.update_column(:call_flow_logic, "Callout")
            phone_call
          end
        end
# this can happen if we remote call flow logic from the application
# we still want the event to be created
# but it should use the default call flow logic instead
this can happen if we remote call flow logic from the application
we still want the event to be created
but it should use the default call flow logic instead
this can happen if we remote call flow logic from the application we still want the event to be created but it should use the default call flow logic instead
def phone_call
          @phone_call ||= begin
            phone_call = super
            phone_call.update_column(:call_flow_logic, "Callout")
            phone_call
          end
        end
def phone_call @phone_call ||= begin phone_call = super phone_call . update_column ( :call_flow_logic , "Callout" ) phone_call end end
this can happen if we remote call flow logic from the application
we still want the event to be created
but it should use the default call flow logic instead
this can happen if we remote call flow logic from the application we still want the event to be created but it should use the default call flow logic instead