Method: AMQ::Protocol::Basic::Return#initialize
- Defined in:
- lib/amq/protocol/client.rb
#initialize(reply_code, reply_text, exchange, routing_key) ⇒ Return
Returns a new instance of Return.
1775 1776 1777 1778 1779 1780 |
# File 'lib/amq/protocol/client.rb', line 1775 def initialize(reply_code, reply_text, exchange, routing_key) @reply_code = reply_code @reply_text = reply_text @exchange = exchange @routing_key = routing_key end |