Sha256: 72a7abb740e860c4ffe864c064295d620e6d834b3af399f3c0317a2b2792fdbd
Contents?: true
Size: 935 Bytes
Versions: 4
Compression:
Stored size: 935 Bytes
Contents
# frozen_string_literal: true # Code generated for API Clients. DO NOT EDIT. module NgrokAPI module Models class EndpointCircuitBreaker attr_reader :client, :attrs, :enabled, :tripped_duration, :rolling_window, :num_buckets, :volume_threshold, :error_threshold_percentage def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @enabled = @attrs['enabled'] @tripped_duration = @attrs['tripped_duration'] @rolling_window = @attrs['rolling_window'] @num_buckets = @attrs['num_buckets'] @volume_threshold = @attrs['volume_threshold'] @error_threshold_percentage = @attrs['error_threshold_percentage'] end def ==(other) @attrs == other.attrs end def to_s @attrs.to_s end def to_h @attrs.to_h end end end end
Version data entries
4 entries across 4 versions & 1 rubygems