lib/jsonapi/response_document.rb in jsonapi-resources-0.4.3 vs lib/jsonapi/response_document.rb in jsonapi-resources-0.4.4
- old
+ new
@@ -34,11 +34,10 @@
@options.fetch(:primary_resource_klass),
include_directives: @options[:include_directives],
fields: @options[:fields],
base_url: @options.fetch(:base_url, ''),
key_formatter: @key_formatter,
- route_formatter: @options.fetch(:route_formatter, JSONAPI.configuration.route_formatter),
- scope_id: @options[:scope_id]
+ route_formatter: @options.fetch(:route_formatter, JSONAPI.configuration.route_formatter)
)
end
# Rolls up the top level meta data from the base_meta, the set of operations,
# and the result of each operation. The keys are then formatted.