Class: Featurer::AdapterProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/featurer/adapter_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config = {}) ⇒ AdapterProxy

Returns a new instance of AdapterProxy.



5
6
7
# File 'lib/featurer/adapter_proxy.rb', line 5

def initialize(config = {})
  initialize_adapter(default_options.merge(config))
end

Instance Attribute Details

#adapterObject (readonly)

Returns the value of attribute adapter.



3
4
5
# File 'lib/featurer/adapter_proxy.rb', line 3

def adapter
  @adapter
end