module Gateway::Connection::Single
Protected Instance Methods
purge_current_connection_from_single!()
click to toggle source
# File lib/gateway/connection/single.rb, line 14 def purge_current_connection_from_single! # This is intentionally empty. # Do not remove this method. end
with_single(&block)
click to toggle source
# File lib/gateway/connection/single.rb, line 5 def with_single(&block) conn = connect begin block.call conn ensure disconnect(conn) end end