Method: Plaid::Counterparty#valid?

Defined in:
lib/plaid/models/counterparty.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



173
174
175
176
177
# File 'lib/plaid/models/counterparty.rb', line 173

def valid?
  return false if @name.nil?
  return false if @type.nil?
  true
end