Sha256: cb70e4f8221890ba29f44edc1656e8593d478a23807d7992e3e7d4350ca2df61

Contents?: true

Size: 490 Bytes

Versions: 4

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

module NgrokAPI
  module Models
    class EndpointLogging
      attr_reader :client,
        :result,
        :enabled,
        :event_streams

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

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

      def to_s
        @result.to_s
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ngrok-api-0.16.0 lib/ngrokapi/models/endpoint_logging.rb
ngrok-api-0.15.0 lib/ngrokapi/models/endpoint_logging.rb
ngrok-api-0.14.0 lib/ngrokapi/models/endpoint_logging.rb
ngrok-api-0.12.0 lib/ngrokapi/models/endpoint_logging.rb