Sha256: 8b11b62ce394876027c6b1206ce4eca158d33cca6b13cbe23421f2e55f1b920b
Contents?: true
Size: 392 Bytes
Versions: 3
Compression:
Stored size: 392 Bytes
Contents
module SugarCRM; class Connection # Retrieves the vardef information on fields of the specified bean. def get_module_fields(module_name) login! unless logged_in? json = <<-"EOF" { \"session\": \"#{@session}\"\, \"module_name": \"#{module_name}" } EOF json.gsub!(/^\s{6}/,'') get(:get_module_fields, json) end alias :get_fields :get_module_fields end; end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sugarcrm-0.6.2 | lib/sugarcrm/api/get_module_fields.rb |
sugarcrm-0.6.1 | lib/sugarcrm/api/get_module_fields.rb |
sugarcrm-0.6.0 | lib/sugarcrm/api/get_module_fields.rb |