Class: Appwrite::Models::Jwt
- Inherits:
-
Object
- Object
- Appwrite::Models::Jwt
- Defined in:
- lib/appwrite/models/jwt.rb
Instance Attribute Summary collapse
-
#jwt ⇒ Object
readonly
Returns the value of attribute jwt.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(jwt:) ⇒ Jwt
constructor
A new instance of Jwt.
- #to_map ⇒ Object
Constructor Details
#initialize(jwt:) ⇒ Jwt
Returns a new instance of Jwt.
8 9 10 11 12 |
# File 'lib/appwrite/models/jwt.rb', line 8 def initialize( jwt: ) @jwt = jwt end |
Instance Attribute Details
#jwt ⇒ Object (readonly)
Returns the value of attribute jwt.
6 7 8 |
# File 'lib/appwrite/models/jwt.rb', line 6 def jwt @jwt end |
Class Method Details
Instance Method Details
#to_map ⇒ Object
20 21 22 23 24 |
# File 'lib/appwrite/models/jwt.rb', line 20 def to_map { "jwt": @jwt } end |