Class: Clerk::Models::Operations::RevokeM2MTokenRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::RevokeM2MTokenRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/revokem2mtoken_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(revocation_reason: nil) ⇒ RevokeM2MTokenRequestBody
constructor
A new instance of RevokeM2MTokenRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(revocation_reason: nil) ⇒ RevokeM2MTokenRequestBody
Returns a new instance of RevokeM2MTokenRequestBody.
19 20 21 |
# File 'lib/clerk/models/operations/revokem2mtoken_requestbody.rb', line 19 def initialize(revocation_reason: nil) @revocation_reason = revocation_reason end |
Instance Method Details
#==(other) ⇒ Object
24 25 26 27 28 |
# File 'lib/clerk/models/operations/revokem2mtoken_requestbody.rb', line 24 def ==(other) return false unless other.is_a? self.class return false unless @revocation_reason == other.revocation_reason true end |