Sha256: 211cf05bbbb08b5b65b4b280325e26575dab6f5e86690fb617c10dff15a4d4cc

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class TLSCertificateSANs
      attr_reader :client,
        :attrs,
        :dns_names,
        :ips

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @dns_names = @attrs['dns_names']
        @ips = @attrs['ips']
      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/tls_certificate_sa_ns.rb
ngrok-api-0.23.0 lib/ngrokapi/models/tls_certificate_sa_ns.rb
ngrok-api-0.22.0 lib/ngrokapi/models/tls_certificate_sa_ns.rb
ngrok-api-0.21.0 lib/ngrokapi/models/tls_certificate_sa_ns.rb