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