Module: ZimbraInterceptingProxy::Backend

Defined in:
lib/zimbra_intercepting_proxy/backend.rb

Class Method Summary collapse

Class Method Details

.for_user(user) ⇒ Object



4
5
6
7
# File 'lib/zimbra_intercepting_proxy/backend.rb', line 4

def self.for_user(user)
  return ZimbraInterceptingProxy::Config.new_backend if user.migrated?
  ZimbraInterceptingProxy::Config.old_backend
end