class Reactor::Cm::Obj::SimpleCommandRequest
Public Instance Methods
build(obj_id, cmd_name, comment = nil)
click to toggle source
# File lib/reactor/cm/obj.rb, line 450 def build(obj_id, cmd_name, comment = nil) xml.where_key_tag!('obj', 'id', obj_id) if comment xml.tag!("obj-#{cmd_name}") do xml.tag!('comment', comment) end else xml.tag!("obj-#{cmd_name}") end end