Sha256: 4958762e7c2ef67c80cfac9601e7dedadf31098055a8ed5cfd3bb6879a93ad1f
Contents?: true
Size: 337 Bytes
Versions: 13
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true module Command module InputMiddleware class RailsParams def self.call(inputs) class_name = 'ActionController::Parameters' klass = class_name.safe_constantize return inputs unless klass && inputs.is_a?(klass) inputs.to_unsafe_h.to_h end end end end
Version data entries
13 entries across 13 versions & 1 rubygems