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