Files
ngrok-api-ruby/lib/ngrokapi/models/event_source_replace.rb
T

30 lines
516 B
Ruby

# frozen_string_literal: true
module NgrokAPI
module Models
class EventSourceReplace
attr_reader :client,
:result,
:type,
:filter,
:fields
def initialize(client:, result:)
@client = client
@result = result
@type = @result['type']
@filter = @result['filter']
@fields = @result['fields']
end
def ==(other)
@result == other.result
end
def to_s
@result.to_s
end
end
end
end