Method: ASIR::Client::Proxy#_configure
- Defined in:
- lib/asir/client.rb
#_configure(&blk) ⇒ Object Also known as: _options
Returns a new Client Proxy with a block to be called with the Message. This block can configure additional options of the Message before it is sent to the Transport.
Call sequence:
proxy.__configure.call(message, proxy).
91 92 93 94 95 |
# File 'lib/asir/client.rb', line 91 def _configure &blk proxy = @receiver == @receiver_class ? self.dup : self proxy.__configure = blk proxy end |