Class: Clerk::Models::Operations::UpdateInstanceRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(test_mode: nil, hibp: nil, support_email: nil, clerk_js_version: nil, development_origin: nil, allowed_origins: nil, allowed_subdomains: nil, subdomain_allowlist_enabled: nil, cookieless_dev: nil, url_based_session_syncing: nil, preferred_sign_in_strategy_when_password_required: nil) ⇒ UpdateInstanceRequest

Returns a new instance of UpdateInstanceRequest.



45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/clerk/models/operations/updateinstance_request.rb', line 45

def initialize(test_mode: nil, hibp: nil, support_email: nil, clerk_js_version: nil, development_origin: nil, allowed_origins: nil, allowed_subdomains: nil, subdomain_allowlist_enabled: nil, cookieless_dev: nil, url_based_session_syncing: nil, preferred_sign_in_strategy_when_password_required: nil)
  @test_mode = test_mode
  @hibp = hibp
  @support_email = support_email
  @clerk_js_version = clerk_js_version
  @development_origin = development_origin
  @allowed_origins = allowed_origins
  @allowed_subdomains = allowed_subdomains
  @subdomain_allowlist_enabled = subdomain_allowlist_enabled
  @cookieless_dev = cookieless_dev
  @url_based_session_syncing = url_based_session_syncing
  @preferred_sign_in_strategy_when_password_required = 
end

Instance Method Details

#==(other) ⇒ Object



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/clerk/models/operations/updateinstance_request.rb', line 60

def ==(other)
  return false unless other.is_a? self.class
  return false unless @test_mode == other.test_mode
  return false unless @hibp == other.hibp
  return false unless @support_email == other.support_email
  return false unless @clerk_js_version == other.clerk_js_version
  return false unless @development_origin == other.development_origin
  return false unless @allowed_origins == other.allowed_origins
  return false unless @allowed_subdomains == other.allowed_subdomains
  return false unless @subdomain_allowlist_enabled == other.subdomain_allowlist_enabled
  return false unless @cookieless_dev == other.cookieless_dev
  return false unless @url_based_session_syncing == other.url_based_session_syncing
  return false unless @preferred_sign_in_strategy_when_password_required == other.
  true
end