Sha256: 1039e7a6dca144cf7638dec8152db595fd2235cb4124e2178cd2be20852163f8
Contents?: true
Size: 710 Bytes
Versions: 17
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true class MockBaseClient STAGING_ENV_ID = 1 PRODUCTION_ENV_ID = 2 TEST_ENV_ID = 3 attr_reader :namespace, :logger, :config_client, :options, :posts def initialize(options = Prefab::Options.new) @options = options @namespace = namespace @config_client = MockConfigClient.new @posts = [] end def instance_hash 'mock-base-client-instance-hash' end def project_id 1 end def post(_, _) raise 'Use wait_for_post_requests' end def log @logger end def context_shape_aggregator; end def evaluation_summary_aggregator; end def example_contexts_aggregator; end def config_value(key) @config_values[key] end end
Version data entries
17 entries across 17 versions & 1 rubygems