Sha256: b1b017ffc611ad62a8d86fb399aabed9a592bae99a36aad9608c9638e59dab00

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 Bytes

Contents

module FaaStRuby
  module RPC
    class Caller
      def initialize(path, raise_errors: true)
        @path = path
        @raise_errors = raise_errors
      end

      def call(*args)
        function = FaaStRuby::RPC::Function.new(@path, raise_errors: @raise_errors)
        function.call(*args)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faastruby-rpc-0.2.7 lib/faastruby-rpc/caller.rb
faastruby-rpc-0.2.6 lib/faastruby-rpc/caller.rb