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

Version Path
sugarcrm-0.9.7 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.9.6 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.9.5 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.9.4 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.9.3 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.9.2 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.9.1 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.9.0 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.8.2 lib/sugarcrm/connection/api/get_report_entries.rb
sugarcrm-0.8.1 lib/sugarcrm/connection/api/get_report_entries.rb