Sha256: 1ef74cc1ddb642bfe83e5fa812d85a6417fbdfe180845dcd069ddb9ed48c82c5
Contents?: true
Size: 349 Bytes
Versions: 3
Compression:
Stored size: 349 Bytes
Contents
module SugarCRM; class Connection # Retrieves the ID of the default team of the user # who is logged into the current session. def get_user_team_id login! unless logged_in? json = <<-EOF { \"session\": \"#{@session}\" } EOF json.gsub!(/^\s{8}/,'') response = get(:get_user_team_id, json) end end; end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sugarcrm-0.6.2 | lib/sugarcrm/api/get_user_team_id.rb |
sugarcrm-0.6.1 | lib/sugarcrm/api/get_user_team_id.rb |
sugarcrm-0.6.0 | lib/sugarcrm/api/get_user_team_id.rb |