lib/restpack_serializer/serializable/attributes.rb in restpack_serializer-0.2.9 vs lib/restpack_serializer/serializable/attributes.rb in restpack_serializer-0.2.10
- old
+ new
@@ -38,10 +38,10 @@
def define_include_method(name)
method = "include_#{name}?".to_sym
unless method_defined?(method)
define_method method do
- @options[method].nil? || @options[method]
+ @context[method].nil? || @context[method]
end
end
end
end
end