Method: UpBankingClient::RoundUpObject#valid?

Defined in:
lib/up_banking/models/round_up_object.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



88
89
90
91
# File 'lib/up_banking/models/round_up_object.rb', line 88

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