Sha256: 293bb2a6eca8101bb4b4c0902515c23bbc006ecd4616158136e61b87c2d6a2e4

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

module SugarCRM; class Connection
  # Retrieves the vardef information 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}/,'')
    SugarCRM::Response.handle(send!(:get_module_fields, json))
  end
  alias :get_fields :get_module_fields
end; end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sugarcrm-0.9.9 lib/sugarcrm/connection/api/get_module_fields.rb
sugarcrm-0.9.8 lib/sugarcrm/connection/api/get_module_fields.rb