Method: Esi::Client.current
- Defined in:
- lib/esi/client.rb
.current ⇒ Esi::Client
Get the current thread’s ‘Esi::Client`
47 48 49 |
# File 'lib/esi/client.rb', line 47 def self.current Thread.current[:esi_client] ||= new end |
Get the current thread’s ‘Esi::Client`
47 48 49 |
# File 'lib/esi/client.rb', line 47 def self.current Thread.current[:esi_client] ||= new end |