Sha256: eb29122e7109b290c1d0a808af30238bbae40460041353615d59a8eb08edda09

Contents?: true

Size: 534 Bytes

Versions: 6

Compression:

Stored size: 534 Bytes

Contents

# frozen_string_literal: true

module NgrokAPI
  module Models
    class EndpointMutualTLSMutate
      attr_reader :client,
        :result,
        :enabled,
        :certificate_authority_ids

      def initialize(client:, result:)
        @client = client
        @result = result
        @enabled = @result['enabled']
        @certificate_authority_ids = @result['certificate_authority_ids']
      end

      def ==(other)
        @result == other.result
      end

      def to_s
        @result.to_s
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ngrok-api-0.18.0 lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb
ngrok-api-0.17.0 lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb
ngrok-api-0.16.0 lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb
ngrok-api-0.15.0 lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb
ngrok-api-0.14.0 lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb
ngrok-api-0.12.0 lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb