Sha256: f09ca50d8d44227e7083443b60ff9015dbed4208bde47b87cab065057a823b7e
Contents?: true
Size: 299 Bytes
Versions: 15
Compression:
Stored size: 299 Bytes
Contents
module SugarCRM; class Connection # Logs out of the Sugar user session. def logout login! unless logged_in? json = <<-EOF { \"user_auth\": { \"session\": \"#{@session}\" } } EOF json.gsub!(/^\s{8}/,'') send!(:logout, json) end end; end
Version data entries
15 entries across 15 versions & 1 rubygems