Class: Rafflesia::SignedOutData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SignedOutData
- Defined in:
- lib/rafflesia/auth/signed_out_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ logOutUrl: :log_out_url, signed_out: :signed_out }.freeze
Instance Attribute Summary collapse
-
#log_out_url ⇒ Object
Returns the value of attribute log_out_url.
-
#signed_out ⇒ Object
Returns the value of attribute signed_out.
Instance Method Summary collapse
-
#initialize(json) ⇒ SignedOutData
constructor
A new instance of SignedOutData.
Constructor Details
#initialize(json) ⇒ SignedOutData
Returns a new instance of SignedOutData.
17 18 19 20 21 22 |
# File 'lib/rafflesia/auth/signed_out_data.rb', line 17 def initialize(json) super() hash = self.class.normalize(json) @log_out_url = hash[:logOutUrl] @signed_out = hash[:signed_out] end |
Instance Attribute Details
#log_out_url ⇒ Object
Returns the value of attribute log_out_url.
13 14 15 |
# File 'lib/rafflesia/auth/signed_out_data.rb', line 13 def log_out_url @log_out_url end |
#signed_out ⇒ Object
Returns the value of attribute signed_out.
13 14 15 |
# File 'lib/rafflesia/auth/signed_out_data.rb', line 13 def signed_out @signed_out end |