Method: Printful::FileOption#valid?

Defined in:
lib/printful_client/models/file_option.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



98
99
100
101
102
103
# File 'lib/printful_client/models/file_option.rb', line 98

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @id.nil?
  return false if @value.nil?
  true
end