Sha256: 7c6e9ab6960788df10b1defba4b3989eae49ed42afa405bab143a608de908cb5

Contents?: true

Size: 410 Bytes

Versions: 10

Compression:

Stored size: 410 Bytes

Contents

module SugarCRM; class Connection
  # Creates or updates a list of SugarBeans.
  def set_entries(module_name, name_value_lists)
    login! unless logged_in?
    json = <<-EOF
      {
        "session": "#{@sugar_session_id}",
        "module_name": "#{module_name}",
        "name_value_list": #{name_value_lists.to_json}
      }
    EOF
    json.gsub!(/^\s{6}/,'')
    send!(:set_entries, json)
  end
end; end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
sugarcrm_emp-0.10.5 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm_emp-0.10.1 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm_emp-0.10.0 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.18 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.17 ./lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.16 ./lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.15 ./lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.14 ./lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.13 ./lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.12 ./lib/sugarcrm/connection/api/set_entries.rb