Class: Arproxy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/arproxy/base.rb

Direct Known Subclasses

ChainTail

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#next_proxyObject

Returns the value of attribute next_proxy.



3
4
5
# File 'lib/arproxy/base.rb', line 3

def next_proxy
  @next_proxy
end

#proxy_chainObject

Returns the value of attribute proxy_chain.



3
4
5
# File 'lib/arproxy/base.rb', line 3

def proxy_chain
  @proxy_chain
end

Instance Method Details

#execute(sql, name = nil) ⇒ Object



5
6
7
# File 'lib/arproxy/base.rb', line 5

def execute(sql, name=nil)
  next_proxy.execute sql, name
end