Sha256: de203bd56104b154d58fb3f02eddbebb175f13d385d5a78c7d8b6f2807bd52a8
Contents?: true
Size: 454 Bytes
Versions: 10
Compression:
Stored size: 454 Bytes
Contents
module SugarCRM; class Connection # Retrieves a list of report entries based on specified report IDs. def get_report_entries(ids, opts={}) login! unless logged_in? options = {:select_fields => ''}.merge! opts json = <<-EOF { \"session\": \"#{@session}\"\, \"ids\": #{ids.to_json}\, \"select_fields\": \"#{options[:select_fields].to_json}\" } EOF json.gsub!(/^\s{6}/,'') send!(:get_report_entries, json) end end; end
Version data entries
10 entries across 10 versions & 1 rubygems