Class: Clerk::Models::Operations::UpdateOAuthApplicationRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::UpdateOAuthApplicationRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/updateoauthapplication_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name: nil, redirect_uris: nil, callback_url: nil, consent_screen_enabled: nil, pkce_required: nil, public: nil, scopes: 'profile email') ⇒ UpdateOAuthApplicationRequestBody
constructor
A new instance of UpdateOAuthApplicationRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name: nil, redirect_uris: nil, callback_url: nil, consent_screen_enabled: nil, pkce_required: nil, public: nil, scopes: 'profile email') ⇒ UpdateOAuthApplicationRequestBody
Returns a new instance of UpdateOAuthApplicationRequestBody.
34 35 36 37 38 39 40 41 42 |
# File 'lib/clerk/models/operations/updateoauthapplication_requestbody.rb', line 34 def initialize(name: nil, redirect_uris: nil, callback_url: nil, consent_screen_enabled: nil, pkce_required: nil, public: nil, scopes: 'profile email') @name = name @redirect_uris = redirect_uris @callback_url = callback_url = @pkce_required = pkce_required @public = public @scopes = scopes end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/clerk/models/operations/updateoauthapplication_requestbody.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @redirect_uris == other.redirect_uris return false unless @callback_url == other.callback_url return false unless == other. return false unless @pkce_required == other.pkce_required return false unless @public == other.public return false unless @scopes == other.scopes true end |