Module: Utopia::Controller::Handlers::Passthrough

Defined in:
lib/utopia/controller/responder.rb

Constant Summary collapse

WILDCARD =
HTTP::Accept::MediaTypes::MediaRange.new("*", "*").freeze

Class Method Summary collapse

Class Method Details

.call(context, request, media_range, object, **options) ⇒ Object



34
35
36
# File 'lib/utopia/controller/responder.rb', line 34

def self.call(context, request, media_range, object, **options)
  # Do nothing.
end

.split(*arguments) ⇒ Object



30
31
32
# File 'lib/utopia/controller/responder.rb', line 30

def self.split(*arguments)
  WILDCARD.split(*arguments)
end