Sha256: b1b74121c6e18ff7cd9489d5c5283129f01892c5c7d62f156d4c4f05b1a51a2e
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sugarcrm-0.9.9 | lib/sugarcrm/connection/api/get_report_entries.rb |
sugarcrm-0.9.8 | lib/sugarcrm/connection/api/get_report_entries.rb |