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