Method: MoneyKit::GetAccountResponse#list_invalid_properties
- Defined in:
- lib/moneykit/models/get_account_response.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/moneykit/models/get_account_response.rb', line 79 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @account.nil? invalid_properties.push('invalid value for "account", account cannot be nil.') end if @link.nil? invalid_properties.push('invalid value for "link", link cannot be nil.') end invalid_properties end |