Class: Rafflesia::SignedOutData

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_urlObject

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_outObject

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