Class: Appwrite::Models::Oauth2Reject
- Inherits:
-
Object
- Object
- Appwrite::Models::Oauth2Reject
- Defined in:
- lib/appwrite/models/oauth2_reject.rb
Instance Attribute Summary collapse
-
#redirect_url ⇒ Object
readonly
Returns the value of attribute redirect_url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(redirect_url:) ⇒ Oauth2Reject
constructor
A new instance of Oauth2Reject.
- #to_map ⇒ Object
Constructor Details
#initialize(redirect_url:) ⇒ Oauth2Reject
Returns a new instance of Oauth2Reject.
8 9 10 11 12 |
# File 'lib/appwrite/models/oauth2_reject.rb', line 8 def initialize( redirect_url: ) @redirect_url = redirect_url end |
Instance Attribute Details
#redirect_url ⇒ Object (readonly)
Returns the value of attribute redirect_url.
6 7 8 |
# File 'lib/appwrite/models/oauth2_reject.rb', line 6 def redirect_url @redirect_url end |
Class Method Details
.from(map:) ⇒ Object
14 15 16 17 18 |
# File 'lib/appwrite/models/oauth2_reject.rb', line 14 def self.from(map:) Oauth2Reject.new( redirect_url: map["redirectUrl"] ) end |
Instance Method Details
#to_map ⇒ Object
20 21 22 23 24 |
# File 'lib/appwrite/models/oauth2_reject.rb', line 20 def to_map { "redirectUrl": @redirect_url } end |