Sha256: 0bd456049e718debd9cadbfc59c94813f733b2fbdba66bac82d3eedfa3b5c135
Contents?: true
Size: 903 Bytes
Versions: 6
Compression:
Stored size: 903 Bytes
Contents
# frozen_string_literal: true module NgrokAPI module Models class EndpointOAuth attr_reader :client, :result, :enabled, :provider, :options_passthrough, :cookie_prefix, :inactivity_timeout, :maximum_duration, :auth_check_interval def initialize(client:, result:) @client = client @result = result @enabled = @result['enabled'] @provider = @result['provider'] @options_passthrough = @result['options_passthrough'] @cookie_prefix = @result['cookie_prefix'] @inactivity_timeout = @result['inactivity_timeout'] @maximum_duration = @result['maximum_duration'] @auth_check_interval = @result['auth_check_interval'] end def ==(other) @result == other.result end def to_s @result.to_s end end end end
Version data entries
6 entries across 6 versions & 1 rubygems