Module: Sharepoint::VtiBin
- Defined in:
- lib/sharepoint-lists.rb
Class Method Summary collapse
Class Method Details
.translate_field_names(input) ⇒ Object
66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/sharepoint-lists.rb', line 66 def self.translate_field_names input return input unless defined? VtiDisplayNameDictionary hash = Hash.new input.keys.each do |key| if VtiDisplayNameDictionary.keys.include? key hash[VtiDisplayNameDictionary[key]] = input[key] else hash[key] = input[key] end end hash end |