Method: TingYun::TingYunService::Connection#session_without_keepalive
- Defined in:
- lib/ting_yun/ting_yun_service/connection.rb
#session_without_keepalive(&block) ⇒ Object
110 111 112 113 114 115 116 117 |
# File 'lib/ting_yun/ting_yun_service/connection.rb', line 110 def session_without_keepalive(&block) begin establish_shared_connection block.call ensure close_shared_connection end end |