Sha256: 80ff4ecfa3a3d471bf9c1afe73e6e8bf2847a604fecc2d340476e18c18a0f56a

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

module SugarCRM; class Base
  
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

end; end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sugarcrm-0.5.3 lib/sugarcrm/get_module_fields.rb
sugarcrm-0.5.2 lib/sugarcrm/get_module_fields.rb
sugarcrm-0.5.1 lib/sugarcrm/get_module_fields.rb