We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea5296a commit a018f1dCopy full SHA for a018f1d
1 file changed
lib/fast_jsonapi/object_serializer.rb
@@ -72,7 +72,6 @@ def process_options(options)
72
@known_included_objects = {}
73
@meta = options[:meta]
74
@links = options[:links]
75
- @data_links = {}
76
@params = options[:params] || {}
77
raise ArgumentError.new("`params` option passed to serializer must be a hash") unless @params.is_a?(Hash)
78
@@ -97,6 +96,7 @@ def inherited(subclass)
97
96
subclass.transform_method = transform_method
98
subclass.cache_length = cache_length
99
subclass.race_condition_ttl = race_condition_ttl
+ subclass.data_links = data_links
100
subclass.cached = cached
101
end
102
0 commit comments