Method: Falcon::ClientCost#valid?

Defined in:
lib/crimson-falcon/models/client_cost.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



119
120
121
122
123
124
# File 'lib/crimson-falcon/models/client_cost.rb', line 119

def valid?
  return false if @live_cost.nil?
  return false if @query_count.nil?
  return false if @static_cost.nil?
  true
end