Class: WorkOS::DirectorySyncResponse
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::DirectorySyncResponse
- Defined in:
- lib/workos/directory_sync/directory_sync_response.rb
Constant Summary collapse
- HASH_ATTRS =
{ status: :status }.freeze
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(json) ⇒ DirectorySyncResponse
constructor
A new instance of DirectorySyncResponse.
Constructor Details
#initialize(json) ⇒ DirectorySyncResponse
Returns a new instance of DirectorySyncResponse.
13 14 15 16 |
# File 'lib/workos/directory_sync/directory_sync_response.rb', line 13 def initialize(json) hash = self.class.normalize(json) @status = hash[:status] end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
11 12 13 |
# File 'lib/workos/directory_sync/directory_sync_response.rb', line 11 def status @status end |