lib/jsonapionify/api/param_options.rb in jsonapionify-0.12.9 vs lib/jsonapionify/api/param_options.rb in jsonapionify-0.12.10
- old
+ new
@@ -64,9 +64,13 @@
def default
with_value @default
end
+ def default_value
+ @default
+ end
+
def extract_value(params)
keypath.reduce(params) do |p, key|
p[key.to_s]
end
end