class NgrokAPI::Models::EventTarget

Attributes

attrs[R]
client[R]
cloudwatch_logs[R]
debug[R]
firehose[R]
kinesis[R]

Public Class Methods

new(client: nil, attrs: {}) click to toggle source
# File lib/ngrokapi/models/event_target.rb, line 13
def initialize(client: nil, attrs: {})
  @client = client
  @attrs = attrs
  @firehose = @attrs['firehose']
  @kinesis = @attrs['kinesis']
  @cloudwatch_logs = @attrs['cloudwatch_logs']
  @debug = @attrs['debug']
end

Public Instance Methods

==(other) click to toggle source
# File lib/ngrokapi/models/event_target.rb, line 22
def ==(other)
  @attrs == other.attrs
end
to_h() click to toggle source
# File lib/ngrokapi/models/event_target.rb, line 30
def to_h
  @attrs.to_h
end
to_s() click to toggle source
# File lib/ngrokapi/models/event_target.rb, line 26
def to_s
  @attrs.to_s
end