Sha256: ead1ec55a69695f62b229c9f572374e6eac9869957014b3f1604f98b8f35886b

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

module NgrokAPI
  module Models
    class EventTargetKinesis
      attr_reader :client,
        :result,
        :auth,
        :stream_arn

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