Module: SmartHR::Converter

Included in:
Client
Defined in:
lib/smarthr/converter.rb

Instance Method Summary collapse

Instance Method Details

#hash_compact(hash) ⇒ Object



3
4
5
# File 'lib/smarthr/converter.rb', line 3

def hash_compact(hash)
  hash.reject { |_k, v| v.nil? }
end