Method: YNAB::PutTransactionWrapper#valid?

Defined in:
lib/ynab/models/put_transaction_wrapper.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



71
72
73
74
# File 'lib/ynab/models/put_transaction_wrapper.rb', line 71

def valid?
  return false if @transaction.nil?
  true
end