module FaaStRuby::RPC
Constants
- VERSION
Public Class Methods
response(path)
click to toggle source
# File lib/faastruby-rpc/test_helper.rb, line 14 def self.response(path) @@response[path] end
stub_call(function_path, &block)
click to toggle source
# File lib/faastruby-rpc/test_helper.rb, line 5 def self.stub_call(function_path, &block) helper = TestHelper.new block.call(helper) @@response[function_path] = FaaStRuby::RPC::Response.new(helper.body, helper.code, helper.headers, helper.klass) end
stub_call?(path)
click to toggle source
# File lib/faastruby-rpc/test_helper.rb, line 10 def self.stub_call?(path) @@response[path] end