Method: MoneyKit::TransactionSyncResponse#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



140
141
142
143
144
145
146
147
148
# File 'lib/moneykit/models/transaction_sync_response.rb', line 140

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