File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/jsonapi/utils/response Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,10 @@ def active_record_obj?(object)
8989 # @option options [JSONAPI::Resource] resource: it tells the builder which resource
9090 # class to be used rather than use an infered one (default behaviour)
9191 #
92- # @option options [JSONAPI::Resource] source_resource : it tells the builder that this response is from a related resource
92+ # @option options [ActiveRecord::Base, JSONAPI::Resource] source : it tells the builder that this response is from a related resource
9393 # and the result should be interpreted as a related resources response
9494 #
95- # @option options [String, Symbol] relationship_type : it tells that the builder which relationship the data is from
95+ # @option options [String, Symbol] relationship : it tells that the builder which relationship the data is from
9696 #
9797 # @option options [Integer] count: if it's rendering a collection of resources, the default
9898 # gem's counting method can be bypassed by the use of this options. It's shows then the total
You can’t perform that action at this time.
0 commit comments