Module: ForemanInventoryUpload::Async::AsyncHelpers

Extended by:
ActiveSupport::Concern
Included in:
ShellProcess
Defined in:
lib/foreman_inventory_upload/async/async_helpers.rb

Instance Method Summary collapse

Instance Method Details

#hash_to_s(hash) ⇒ Object



6
7
8
9
10
# File 'lib/foreman_inventory_upload/async/async_helpers.rb', line 6

def hash_to_s(hash)
  hash.each_with_object({}) do |(k, v), a|
    a[k.to_s] = v.to_s
  end
end