Method: MoneyKit::AppClientResponse#valid?

Defined in:
lib/moneykit/models/app_client_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



136
137
138
139
140
141
142
143
# File 'lib/moneykit/models/app_client_response.rb', line 136

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @client_id.nil?
  return false if @client_name.nil?
  return false if @scope.nil?
  return false if @app.nil?
  true
end