class Bcome::Orchestration::Base
Public Class Methods
new(node, arguments)
click to toggle source
# File lib/objects/orchestration/base.rb, line 5 def initialize(node, arguments) @node = node @arguments = arguments end
Public Instance Methods
do_execute()
click to toggle source
# File lib/objects/orchestration/base.rb, line 10 def do_execute raise Bcome::Exception::MissingExecuteOnRegistryObject, self.class.to_s unless respond_to?(:execute) begin execute rescue ::Bcome::Exception::Base => bcome_exception show_backtrace = true unless bcome_exception.is_a?(::Bcome::Exception::InvalidMetaDataEncryptionKey) bcome_exception.pretty_display(show_backtrace) raise ::Bcome::Exception::UserOrchestrationError, self.class.to_s end end
method_missing(method_sym, *_arguments)
click to toggle source
# File lib/objects/orchestration/base.rb, line 22 def method_missing(method_sym, *_arguments) ## A thread error deep in the bowels of IRB is not playing well with orchestration missing methods within the orchestration namespace. Until this can be resolved, ## I've re-implemented it here. raise NameError, "NameError (undefined local variable or method '#{method_sym}' for #{self.class}" end