class NgrokAPI::Models::EndpointWebhookValidation
Attributes
attrs[R]
client[R]
enabled[R]
provider[R]
secret[R]
Public Class Methods
new(client: nil, attrs: {})
click to toggle source
# File lib/ngrokapi/models/endpoint_webhook_validation.rb, line 12 def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @enabled = @attrs['enabled'] @provider = @attrs['provider'] @secret = @attrs['secret'] end
Public Instance Methods
==(other)
click to toggle source
# File lib/ngrokapi/models/endpoint_webhook_validation.rb, line 20 def ==(other) @attrs == other.attrs end
to_h()
click to toggle source
# File lib/ngrokapi/models/endpoint_webhook_validation.rb, line 28 def to_h @attrs.to_h end
to_s()
click to toggle source
# File lib/ngrokapi/models/endpoint_webhook_validation.rb, line 24 def to_s @attrs.to_s end