lib/evertils/helpers/api-enml-handler.rb in evertils-1.0.12 vs lib/evertils/helpers/api-enml-handler.rb in evertils-2.0.0
- old
+ new
@@ -3,11 +3,11 @@
class ApiEnmlHandler
include Nokogiri::XML
#
# @since 0.3.7
- def initialize(args = [])
- @config = args.first
+ def initialize(conf)
+ @config = conf
self
end
#
# @since 0.3.13