Class: Zookeeper::Callbacks::VoidCallback
- Defined in:
- lib/zookeeper/callbacks.rb
Instance Attribute Summary collapse
-
#return_code ⇒ Object
readonly
adelete, aset_acl, add_auth.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#call, #completed?, create, #initialize
Constructor Details
This class inherits a constructor from Zookeeper::Callbacks::Base
Instance Attribute Details
#return_code ⇒ Object (readonly)
adelete, aset_acl, add_auth
93 94 95 |
# File 'lib/zookeeper/callbacks.rb', line 93 def return_code @return_code end |
Instance Method Details
#initialize_context(hash) ⇒ Object
95 96 97 |
# File 'lib/zookeeper/callbacks.rb', line 95 def initialize_context(hash) @return_code, @context = hash[:rc], hash[:context] end |