Class: WrapperContract

Inherits:
ArcadiaContract show all
Defined in:
ext/ae-rad/ae-rad-libs.rb

Defined Under Namespace

Classes: TWrapperObj

Constant Summary collapse

WRAPPER_AFTER_CREATE =
"WRAPPER_AFTER_CREATE"
PROPERTY_AFTER_UPDATE =
"PROPERTY_AFTER_UPDATE"
UPDATE_PROPERTY =
"UPDATE_PROPERTY"

Instance Method Summary collapse

Methods inherited from ArcadiaContract

#_raise_event, publish_action, #raise_action, #raise_event

Instance Method Details

#property_updated(_sender, *args) ⇒ Object



1098
1099
1100
# File 'ext/ae-rad/ae-rad-libs.rb', line 1098

def property_updated(_sender, *args)
  raise_event(PROPERTY_AFTER_UPDATE, TWrapperObj.new(_sender, *args))
end

#update_property(_sender, *args) ⇒ Object



1095
1096
1097
# File 'ext/ae-rad/ae-rad-libs.rb', line 1095

def update_property(_sender, *args)
  raise_action(UPDATE_PROPERTY, TWrapperObj.new(_sender, *args))
end

#wrapper_created(_sender, *args) ⇒ Object



1101
1102
1103
# File 'ext/ae-rad/ae-rad-libs.rb', line 1101

def wrapper_created(_sender, *args)
  raise_event(WRAPPER_AFTER_CREATE, TWrapperObj.new(_sender, *args))
end