Method: MoneyKit::ImportLinkRequest#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



158
159
160
161
162
163
164
165
# File 'lib/moneykit/models/import_link_request.rb', line 158

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