Method: ConstantContactClient::TagPut#valid?

Defined in:
lib/constant_contact_client/models/tag_put.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



90
91
92
93
94
95
96
# File 'lib/constant_contact_client/models/tag_put.rb', line 90

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @name.nil?
  return false if @name.to_s.length > 255
  return false if @name.to_s.length < 1
  true
end