Class: NgrokAPI::Models::EventTarget
- Inherits:
-
Object
- Object
- NgrokAPI::Models::EventTarget
- Defined in:
- lib/ngrokapi/models/event_target.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#cloudwatch_logs ⇒ Object
readonly
Returns the value of attribute cloudwatch_logs.
-
#debug ⇒ Object
readonly
Returns the value of attribute debug.
-
#firehose ⇒ Object
readonly
Returns the value of attribute firehose.
-
#kinesis ⇒ Object
readonly
Returns the value of attribute kinesis.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(client:, result:) ⇒ EventTarget
constructor
A new instance of EventTarget.
- #to_s ⇒ Object
Constructor Details
#initialize(client:, result:) ⇒ EventTarget
Returns a new instance of EventTarget.
13 14 15 16 17 18 19 20 |
# File 'lib/ngrokapi/models/event_target.rb', line 13 def initialize(client:, result:) @client = client @result = result @firehose = @result['firehose'] @kinesis = @result['kinesis'] @cloudwatch_logs = @result['cloudwatch_logs'] @debug = @result['debug'] end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/ngrokapi/models/event_target.rb', line 6 def client @client end |
#cloudwatch_logs ⇒ Object (readonly)
Returns the value of attribute cloudwatch_logs.
6 7 8 |
# File 'lib/ngrokapi/models/event_target.rb', line 6 def cloudwatch_logs @cloudwatch_logs end |
#debug ⇒ Object (readonly)
Returns the value of attribute debug.
6 7 8 |
# File 'lib/ngrokapi/models/event_target.rb', line 6 def debug @debug end |
#firehose ⇒ Object (readonly)
Returns the value of attribute firehose.
6 7 8 |
# File 'lib/ngrokapi/models/event_target.rb', line 6 def firehose @firehose end |
#kinesis ⇒ Object (readonly)
Returns the value of attribute kinesis.
6 7 8 |
# File 'lib/ngrokapi/models/event_target.rb', line 6 def kinesis @kinesis end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/ngrokapi/models/event_target.rb', line 6 def result @result end |
Instance Method Details
#==(other) ⇒ Object
22 23 24 |
# File 'lib/ngrokapi/models/event_target.rb', line 22 def ==(other) @result == other.result end |
#to_s ⇒ Object
26 27 28 |
# File 'lib/ngrokapi/models/event_target.rb', line 26 def to_s @result.to_s end |