Sha256: 08e96b6450ac16b457f6e161158e1b3bc7bc42d648a45eb0c8765ce54433ac1d

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

module SugarCRM; class Connection
# Retrieves a list of report entries based on specified report IDs.
def get_report_entries(ids, options={})
  login! unless logged_in?
  {
    :select_fields => '', 
  }.merge! options

  json = <<-EOF
    {
      \"session\": \"#{@session}\"\,
      \"ids\": #{ids.to_json}\,
      \"select_fields\": \"#{select_fields}\"
    }
  EOF
  json.gsub!(/^\s{6}/,'')
  get(:get_report_entries, json)
end
end; end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sugarcrm-0.6.2 lib/sugarcrm/api/get_report_entries.rb
sugarcrm-0.6.1 lib/sugarcrm/api/get_report_entries.rb
sugarcrm-0.6.0 lib/sugarcrm/api/get_report_entries.rb