class Multiwoven::Integrations::Destination::SalesforceCrm::Client

def build_args(action, stream_name, record)

def build_args(action, stream_name, record)
  case action
  when :upsert
    [stream_name, record[:external_key], record]
  when :destroy
    [stream_name, record[:id]]
  else
    [stream_name, record]
  end
end