Sha256: 6ac26799acb1d0e1099ebdd6fb717acb1ea77b4ff27f56f4fd6f0a086135053b

Contents?: true

Size: 514 Bytes

Versions: 6

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true

module NgrokAPI
  module Models
    class ReservedDomainCertStatus
      attr_reader :client,
        :result,
        :renews_at,
        :provisioning_job

      def initialize(client:, result:)
        @client = client
        @result = result
        @renews_at = @result['renews_at']
        @provisioning_job = @result['provisioning_job']
      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/reserved_domain_cert_status.rb
ngrok-api-0.17.0 lib/ngrokapi/models/reserved_domain_cert_status.rb
ngrok-api-0.16.0 lib/ngrokapi/models/reserved_domain_cert_status.rb
ngrok-api-0.15.0 lib/ngrokapi/models/reserved_domain_cert_status.rb
ngrok-api-0.14.0 lib/ngrokapi/models/reserved_domain_cert_status.rb
ngrok-api-0.12.0 lib/ngrokapi/models/reserved_domain_cert_status.rb