lib/grape/router/attribute_translator.rb in grape-1.2.1 vs lib/grape/router/attribute_translator.rb in grape-1.2.2
- old
+ new
@@ -13,9 +13,11 @@
def method_missing(m, *args)
if m[-1] == '='
@attributes[m[0..-1]] = *args
elsif m[-1] != '='
@attributes[m]
+ else
+ super
end
end
def respond_to_missing?(method_name, _include_private = false)
if method_name[-1] == '='