Sha256: 8908684ac4ec852db8bf6a6562569f1694b51617beb4db1c1cff2c957c5c36a2

Contents?: true

Size: 199 Bytes

Versions: 5

Compression:

Stored size: 199 Bytes

Contents

module Deadlinez
  class Proxy
    def self.strip_params(params)
      copy = params.dup
      [:action, :controller, :path].each do |k|
        copy.delete(k)
      end
      copy
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deadlinez-0.1.2 lib/deadlinez/proxy.rb
deadlinez-0.1.1 lib/deadlinez/proxy.rb
deadlinez-0.1.0 lib/deadlinez/proxy.rb
deadlinez-0.0.3 lib/deadlinez/proxy.rb
deadlinez-0.0.2 lib/deadlinez/proxy.rb