Sha256: 3d38ee5a9ff8a95f4462acde25656de847e3359150301890ec17825a68c49e2c
Contents?: true
Size: 398 Bytes
Versions: 11
Compression:
Stored size: 398 Bytes
Contents
module SugarCRM; class Connection def resolve_fields(module_name, fields) # FIXME: This is to work around a bug in SugarCRM 6.0 # where no fields are returned if no fields are specified if fields.length == 0 mod = Module.find(module_name) if mod fields = mod.fields.keys else fields = "id" end end return fields.to_json end end; end
Version data entries
11 entries across 11 versions & 1 rubygems