Class: Clerk::Models::Components::OAuthApplicationSettings

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/components/oauthapplicationsettings.rb

Overview

Success

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(object:, dynamic_oauth_client_registration:, oauth_jwt_access_tokens:) ⇒ OAuthApplicationSettings

Returns a new instance of OAuthApplicationSettings.



23
24
25
26
27
# File 'lib/clerk/models/components/oauthapplicationsettings.rb', line 23

def initialize(object:, dynamic_oauth_client_registration:, oauth_jwt_access_tokens:)
  @object = object
  @dynamic_oauth_client_registration = dynamic_oauth_client_registration
  @oauth_jwt_access_tokens = oauth_jwt_access_tokens
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/clerk/models/components/oauthapplicationsettings.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @object == other.object
  return false unless @dynamic_oauth_client_registration == other.dynamic_oauth_client_registration
  return false unless @oauth_jwt_access_tokens == other.oauth_jwt_access_tokens
  true
end