Sha256: 785daff4ebef00b569ad16e2e92e1449ea08f1e0312496b796d69d50e397cbba

Contents?: true

Size: 653 Bytes

Versions: 4

Compression:

Stored size: 653 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointTLSTermination
      attr_reader :client,
        :attrs,
        :enabled,
        :terminate_at,
        :min_version

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @enabled = @attrs['enabled']
        @terminate_at = @attrs['terminate_at']
        @min_version = @attrs['min_version']
      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

Version Path
ngrok-api-0.24.0 lib/ngrokapi/models/endpoint_tls_termination.rb
ngrok-api-0.23.0 lib/ngrokapi/models/endpoint_tls_termination.rb
ngrok-api-0.22.0 lib/ngrokapi/models/endpoint_tls_termination.rb
ngrok-api-0.21.0 lib/ngrokapi/models/endpoint_tls_termination.rb