Sha256: 223aeb8dd471adf73525b4de44fa80ee37673deac384ce12d7b75b2ca82220c2
Contents?: true
Size: 427 Bytes
Versions: 53
Compression:
Stored size: 427 Bytes
Contents
module ForestAdminDatasourceToolkit module Validations class ChartValidator def self.validate?(condition, result, key_names) if condition result_keys = result.keys.join(',') raise ForestAdminDatasourceToolkit::Exceptions::ForestException, "The result columns must be named '#{key_names}' instead of '#{result_keys}'" end true end end end end
Version data entries
53 entries across 53 versions & 1 rubygems