lib/soaspec/exchange/exchange_properties.rb in soaspec-0.3.3 vs lib/soaspec/exchange/exchange_properties.rb in soaspec-0.3.6

- old
+ new

@@ -4,10 +4,10 @@ # Convenience methods to set Exchange specific properties # Will be used when creating a subclass of Exchange module ExchangeProperties # Set default exchange handler for this exchange # This is helpful for when you need a new exchange handler created for each exchange - # @param [Class] handler_class Class of ExchangeHandler to set Exchange to use + # @param [< ExchangeHandler] handler_class Class of ExchangeHandler to set Exchange to use # @param [String] name Name to call handler when it's instantiated (Defaults to class name) # @param [Hash] params Hash of parameters to set for instance of ExchangeHandler def default_handler(handler_class, name = handler_class.to_s, params = '') define_method('default_handler_used') do params_used = Hash[params.map do |k, param|