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