Method: TalonOne::BaseSamlConnection#valid?

Defined in:
lib/talon_one/models/base_saml_connection.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



164
165
166
167
168
169
170
171
172
173
174
# File 'lib/talon_one/models/base_saml_connection.rb', line 164

def valid?
  return false if @account_id.nil?
  return false if @name.nil?
  return false if @name.to_s.length < 1
  return false if @enabled.nil?
  return false if @issuer.nil?
  return false if @issuer.to_s.length < 1
  return false if @sign_on_url.nil?
  return false if @sign_on_url.to_s.length < 1
  true
end