lib/jss/api_object/extendable.rb in ruby-jss-1.4.1 vs lib/jss/api_object/extendable.rb in ruby-jss-1.5.1

- old
+ new

@@ -21,11 +21,10 @@ # KIND, either express or implied. See the Apache License for the specific # language governing permissions and limitations under the Apache License. # # -# module JSS # Sub-Modules ################################### @@ -219,9 +218,10 @@ def ext_attr_xml @changed_eas ||= [] eaxml = REXML::Element.new('extension_attributes') @extension_attributes.each do |ea| next unless @changed_eas.include? ea[:name] + ea_el = eaxml.add_element('extension_attribute') ea_el.add_element('name').text = ea[:name] if ea[:type] == 'Date' begin