Class: Nonnative::ProxyFactory
- Inherits:
-
Object
- Object
- Nonnative::ProxyFactory
- Defined in:
- lib/nonnative/proxy_factory.rb
Class Method Summary collapse
Class Method Details
.create(service) ⇒ Object
6 7 8 9 10 |
# File 'lib/nonnative/proxy_factory.rb', line 6 def create(service) proxy = Nonnative.proxy(service.proxy.kind) proxy.new(service) end |