Class: Appwrite::Models::MfaType
- Inherits:
-
Object
- Object
- Appwrite::Models::MfaType
- Defined in:
- lib/appwrite/models/mfa_type.rb
Instance Attribute Summary collapse
-
#secret ⇒ Object
readonly
Returns the value of attribute secret.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(secret:, uri:) ⇒ MfaType
constructor
A new instance of MfaType.
- #to_map ⇒ Object
Constructor Details
#initialize(secret:, uri:) ⇒ MfaType
Returns a new instance of MfaType.
9 10 11 12 13 14 15 |
# File 'lib/appwrite/models/mfa_type.rb', line 9 def initialize( secret:, uri: ) @secret = secret @uri = uri end |
Instance Attribute Details
#secret ⇒ Object (readonly)
Returns the value of attribute secret.
6 7 8 |
# File 'lib/appwrite/models/mfa_type.rb', line 6 def secret @secret end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
7 8 9 |
# File 'lib/appwrite/models/mfa_type.rb', line 7 def uri @uri end |
Class Method Details
Instance Method Details
#to_map ⇒ Object
24 25 26 27 28 29 |
# File 'lib/appwrite/models/mfa_type.rb', line 24 def to_map { "secret": @secret, "uri": @uri } end |