lib/arstotzka/base.rb in arstotzka-1.3.2 vs lib/arstotzka/base.rb in arstotzka-1.4.0
- old
+ new
@@ -16,10 +16,10 @@
# @param options [Arstotzka::Options] options object
#
# @return [Arstotzka::Options]
def options=(options)
@options = if options.is_a?(Hash)
- Options.new(options)
+ Arstotzka.config.options(options)
else
options
end
end
end