class ZuoraConnect::AppInstanceBase

def encrypt_data(data: nil)

def encrypt_data(data: nil)
  return data if data.blank?
  if ['development', 'test'].include?(Rails.env)
    return data.to_json
  else
    return encryptor.encrypt_and_sign(data.to_json)
  end
end