Method: DataComApi::QueryParameters.stringify_hash_values
- Defined in:
- lib/data-com-api/query_parameters.rb
.stringify_hash_values(hash) ⇒ Object
Destructively convert all values using into strings
54 55 56 57 58 59 |
# File 'lib/data-com-api/query_parameters.rb', line 54 def self.stringify_hash_values(hash) hash.each_pair do |key, value| hash[key] = value.to_s end hash end |