Class: CallEvent

Inherits:
Tag
  • Object
show all
Defined in:
lib/xmimodel/call_event.rb

Instance Attribute Summary collapse

Attributes inherited from Tag

#id, #parent_tag, #xml

Instance Method Summary collapse

Methods inherited from Tag

#xml_root

Constructor Details

#initialize(xml, parent) ⇒ CallEvent

Returns a new instance of CallEvent.


11
12
13
14
15
16
17
18
# File 'lib/xmimodel/call_event.rb', line 11

def initialize(xml, parent)
	super(xml, parent)

	@namespace = parent

	@name = xml.attribute("name").to_s
	@operation_id = xml.attribute("operation").to_s		
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name


7
8
9
# File 'lib/xmimodel/call_event.rb', line 7

def name
  @name
end

#operationObject

Returns the value of attribute operation


8
9
10
# File 'lib/xmimodel/call_event.rb', line 8

def operation
  @operation
end

#operation_idObject (readonly)

Returns the value of attribute operation_id


9
10
11
# File 'lib/xmimodel/call_event.rb', line 9

def operation_id
  @operation_id
end