module Passthrough
Passes response values through without transformation.
Definitions
def self.split(*arguments)
Delegate content-type splitting to the wildcard media range.
Signature
-
parameter
argumentsArray The arguments.
-
returns
Array The resulting values.
Implementation
def self.split(*arguments)
WILDCARD.split(*arguments)
end
def self.call(context, request, media_range, object, **options)
Accept an object without producing a response.
Signature
-
parameter
contextObject The context.
-
parameter
requestRack::Request The request.
-
parameter
media_rangeHTTP::Accept::MediaTypes::MediaRange The negotiated media range.
-
parameter
objectObject The object.
-
parameter
optionsHash The options.
-
returns
Nil No response is produced.
Implementation
def self.call(context, request, media_range, object, **options)
# Do nothing.
end