def get_module_fields(module_name)
    login! unless logged_in?  
    json = <<-EOF
      {
        "session": "#{@sugar_session_id}",
        "module_name": "#{module_name}"
      }
    EOF
    json.gsub!(/^\s{6}/,'')
    SugarCRM::Response.handle(send!(:get_module_fields, json), @session)
  end
def get_module_fields(module_name)
    login! unless logged_in?  
    json = <<-EOF
      {
        "session": "#{@sugar_session_id}",
        "module_name": "#{module_name}"
      }
    EOF
    json.gsub!(/^\s{6}/,'')
    SugarCRM::Response.handle(send!(:get_module_fields, json), @session)
  end
Retrieves the vardef information of the specified bean.