Module: Netzke::Support

Defined in:
lib/netzke/core/support.rb

Class Method Summary collapse

Class Method Details

.permit_hash_params(params) ⇒ Object



2
3
4
5
6
# File 'lib/netzke/core/support.rb', line 2

def self.permit_hash_params(params)
  return params unless params
  return params unless params.respond_to? :to_unsafe_h
  params.to_unsafe_h
end