lib/hexx/service.rb in hexx-3.2.1 vs lib/hexx/service.rb in hexx-4.0.0
- old
+ new
@@ -30,11 +30,11 @@
# @example
# service = Hexx::Service.new name: name
#
# @param [Hash] options The options to be assigned to the {#params}.
# @return [Hexx::Service] The service object.
- def initialize(*)
- super
+ def initialize(options = {})
+ super(options)
@messages = []
end
# @!scope class
# @!visibility private