lib/chargify/config.rb in jsmestad-chargify-0.3.0.pre6 vs lib/chargify/config.rb in jsmestad-chargify-0.3.0
- old
+ new
@@ -72,10 +72,10 @@
# Chargify::Config.debug
# Chargify::Config.debug = false
#
def method_missing(method, *args)
if method.to_s[-1,1] == '='
- configuration[method.to_s.tr('=','').to_sym] = *args
+ configuration.send(:[]=, method.to_s.tr('=','').to_sym, *args)
else
configuration[method]
end
end