Sha256: 62f946b1bb2100fbbe0539b6f421631f71170bfa0b6d2c73860054b46d603a9a

Contents?: true

Size: 413 Bytes

Versions: 17

Compression:

Stored size: 413 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\": \"#{@session}\"\,
        \"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

17 entries across 17 versions & 1 rubygems

Version Path
sugarcrm-0.9.9 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.8 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.7 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.6 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.5 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.4 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.3 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.2 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.1 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.9.0 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.8.2 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.8.1 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.8.0 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.7.9 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.7.8 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.7.7 lib/sugarcrm/connection/api/set_entries.rb
sugarcrm-0.7.2 lib/sugarcrm/connection/api/set_entries.rb