module GrpcMock
Constants
- VERSION
Public Class Methods
adapter()
click to toggle source
# File lib/grpc_mock.rb, line 29 def adapter @adapter ||= Adapter.new end
config()
click to toggle source
# File lib/grpc_mock.rb, line 33 def config @config ||= Configuration.new end
disable!()
click to toggle source
# File lib/grpc_mock.rb, line 17 def disable! adapter.disable! end
enable!()
click to toggle source
# File lib/grpc_mock.rb, line 13 def enable! adapter.enable! end
reset!()
click to toggle source
# File lib/grpc_mock.rb, line 21 def reset! GrpcMock.stub_registry.reset! end
stub_registry()
click to toggle source
# File lib/grpc_mock.rb, line 25 def stub_registry @stub_registry ||= GrpcMock::StubRegistry.new end