Sha256: 34025a9a13e91dd0df66a50b238e404dabb49571ab4df1d8865ce81e6096c3ef

Contents?: true

Size: 308 Bytes

Versions: 10

Compression:

Stored size: 308 Bytes

Contents

module SugarCRM; class Connection
  # Performs a seamless login during synchronization.
  def seamless_login
    login! unless logged_in?
    json = <<-EOF
      {
        "session": "#{@sugar_session_id}"
      }
    EOF
    json.gsub!(/^\s{6}/,'')
    response = send!(:seamless_login, json)
  end
end; end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
sugarcrm_emp-0.10.5 lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm_emp-0.10.1 lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm_emp-0.10.0 lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm-0.9.18 lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm-0.9.17 ./lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm-0.9.16 ./lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm-0.9.15 ./lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm-0.9.14 ./lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm-0.9.13 ./lib/sugarcrm/connection/api/seamless_login.rb
sugarcrm-0.9.12 ./lib/sugarcrm/connection/api/seamless_login.rb