Method: MoneyKit::BasicAccountDetails#valid?

Defined in:
lib/moneykit/models/basic_account_details.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



120
121
122
123
124
125
126
# File 'lib/moneykit/models/basic_account_details.rb', line 120

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