Class: Moov::Models::Errors::RevokeTokenRequestError
- Inherits:
-
Object
- Object
- Moov::Models::Errors::RevokeTokenRequestError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/errors/revoketokenrequesterror.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(token: nil, token_type_hint: nil, raw_response: nil) ⇒ RevokeTokenRequestError
constructor
A new instance of RevokeTokenRequestError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(token: nil, token_type_hint: nil, raw_response: nil) ⇒ RevokeTokenRequestError
Returns a new instance of RevokeTokenRequestError.
24 25 26 27 28 |
# File 'lib/moov/models/errors/revoketokenrequesterror.rb', line 24 def initialize(token: nil, token_type_hint: nil, raw_response: nil) @token = token @token_type_hint = token_type_hint @raw_response = raw_response end |
Instance Method Details
#==(other) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/moov/models/errors/revoketokenrequesterror.rb', line 31 def ==(other) return false unless other.is_a? self.class return false unless @token == other.token return false unless @token_type_hint == other.token_type_hint return false unless @raw_response == other.raw_response true end |