Method: AIXM::PayloadHash::Mid#insert_mid
- Defined in:
- lib/aixm/payload_hash.rb
#insert_mid ⇒ self
Insert or update mid attributes on all *Uid elements
86 87 88 89 90 91 |
# File 'lib/aixm/payload_hash.rb', line 86 def insert_mid uid_elements.each do |element| element['mid'] = AIXM::PayloadHash.new(element).to_uuid end self end |