Class: WorkOS::SSOLogoutAuthorizeRequest

Inherits:
Types::BaseModel show all
Defined in:
lib/workos/sso/sso_logout_authorize_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  profile_id: :profile_id
}.freeze

Instance Attribute Summary collapse

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Types::BaseModel

normalize

Methods included from HashProvider

#inspect, #to_h, #to_json

Constructor Details

#initialize(json) ⇒ SSOLogoutAuthorizeRequest

Returns a new instance of SSOLogoutAuthorizeRequest.



13
14
15
16
# File 'lib/workos/sso/sso_logout_authorize_request.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @profile_id = hash[:profile_id]
end

Instance Attribute Details

#profile_idObject

Returns the value of attribute profile_id.



11
12
13
# File 'lib/workos/sso/sso_logout_authorize_request.rb', line 11

def profile_id
  @profile_id
end