Class: Mechanize::HTTP::Agent

Inherits:
Object
  • Object
show all
Defined in:
lib/rgroups.rb

Overview

monkey-patch Mechanize::HTTP::Agent so we can’t reuse ssl sessions as that seems to break things

Instance Method Summary collapse

Instance Method Details

#reuse_ssl_sessionsObject



328
329
330
# File 'lib/rgroups.rb', line 328

def reuse_ssl_sessions
    @http.reuse_ssl_sessions
end

#reuse_ssl_sessions=(reuse_ssl_sessions) ⇒ Object



332
333
334
# File 'lib/rgroups.rb', line 332

def reuse_ssl_sessions= reuse_ssl_sessions
    @http.reuse_ssl_sessions = reuse_ssl_sessions
end