Module: SfCli::Sf::Data::HelperMethods
- Included in:
- Query::BulkResultAdjuster, Query::RegularResultAdjuster
- Defined in:
- lib/sf_cli/sf/data/helper_methods.rb
Instance Method Summary collapse
Instance Method Details
#prepare_record_in_bulk_mode(hash) ⇒ Object
:doc:
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/sf_cli/sf/data/helper_methods.rb', line 20 def prepare_record_in_bulk_mode(hash) # :doc: hash.keys.each do |k| match_result = /(.*)\.(.*)/.match(k) if match_result hash[match_result[1]] = {match_result[2] => hash[k]} hash.delete k end end hash end |