class NgrokAPI::Models::EndpointOAuth

Attributes

attrs[R]
auth_check_interval[R]
client[R]
enabled[R]
inactivity_timeout[R]
maximum_duration[R]
options_passthrough[R]
provider[R]

Public Class Methods

new(client: nil, attrs: {}) click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth.rb, line 16
def initialize(client: nil, attrs: {})
  @client = client
  @attrs = attrs
  @enabled = @attrs['enabled']
  @provider = @attrs['provider']
  @options_passthrough = @attrs['options_passthrough']
  @cookie_prefix = @attrs['cookie_prefix']
  @inactivity_timeout = @attrs['inactivity_timeout']
  @maximum_duration = @attrs['maximum_duration']
  @auth_check_interval = @attrs['auth_check_interval']
end

Public Instance Methods

==(other) click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth.rb, line 28
def ==(other)
  @attrs == other.attrs
end
to_h() click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth.rb, line 36
def to_h
  @attrs.to_h
end
to_s() click to toggle source
# File lib/ngrokapi/models/endpoint_o_auth.rb, line 32
def to_s
  @attrs.to_s
end