lib/inquisitio/configuration.rb in inquisitio-1.5.0 vs lib/inquisitio/configuration.rb in inquisitio-2.0.0
- old
+ new
@@ -32,10 +32,10 @@
private
def get_or_raise(setting)
val = instance_variable_get("@#{setting.to_s}")
if setting == :api_version && val.nil?
- val = '2011-02-01'
+ val = '2013-01-01'
end
val.nil?? raise(InquisitioConfigurationError.new("Configuration for #{setting} is not set")) : val
end
end
end