lib/unity/cloudbuild/client.rb
def define_methods
        CLASSES.each do |request_class|
          instance = request_class.new(self)
          instance.public_methods(false).each do |method_name|
            define_singleton_method(method_name) do |*args|
              instance.public_send(method_name, *args)
            end
          end
        end
      end
# Define the method on the client
Define the method on the client
Define the method on the client
def define_methods
        CLASSES.each do |request_class|
          instance = request_class.new(self)
          instance.public_methods(false).each do |method_name|
            define_singleton_method(method_name) do |*args|
              instance.public_send(method_name, *args)
            end
          end
        end
      end
def define_methods CLASSES . each do | request_class | instance = request_class . new ( self ) instance . public_methods ( false ) . each do | method_name | define_singleton_method ( method_name ) do | * args | instance . public_send ( method_name , * args ) end end end end
Define the method on the client
Define the method on the client