lib/jss/api_object/ibeacon.rb
def rest_xml
      doc = REXML::Document.new APIConnection::XML_HEADER
      ns = doc.add_element RSRC_OBJECT_KEY.to_s
      ns.add_element('name').text = @name
      ns.add_element('uuid').text = @uuid
      ns.add_element('major').text = @major.to_s
      ns.add_element('minor').text = @minor.to_s
      doc.to_s
    end
# the xml formated data for adding or updating this in the JSS
#
the xml formated data for adding or updating this in the JSS
the xml formated data for adding or updating this in the JSS
def rest_xml
      doc = REXML::Document.new APIConnection::XML_HEADER
      ns = doc.add_element RSRC_OBJECT_KEY.to_s
      ns.add_element('name').text = @name
      ns.add_element('uuid').text = @uuid
      ns.add_element('major').text = @major.to_s
      ns.add_element('minor').text = @minor.to_s
      doc.to_s
    end
def rest_xml doc = REXML :: Document . new APIConnection :: XML_HEADER ns = doc . add_element RSRC_OBJECT_KEY . to_s ns . add_element ( 'name' ) . text = @name ns . add_element ( 'uuid' ) . text = @uuid ns . add_element ( 'major' ) . text = @major . to_s ns . add_element ( 'minor' ) . text = @minor . to_s doc . to_s end
the xml formated data for adding or updating this in the JSS
the xml formated data for adding or updating this in the JSS