Sha256: 0815a893b4928945d6c40712c297a2d29f8ee84be1ea7ac527b6e617811497d6
Contents?: true
Size: 402 Bytes
Versions: 10
Compression:
Stored size: 402 Bytes
Contents
module SugarCRM; class Connection # Creates or updates a single SugarBean. def set_entry(module_name, name_value_list) login! unless logged_in? json = <<-EOF { "session": "#{@sugar_session_id}", "module_name": "#{module_name}", "name_value_list": #{name_value_list.to_json} } EOF json.gsub!(/^\s{6}/,'') send!(:set_entry, json) end end; end
Version data entries
10 entries across 10 versions & 2 rubygems