Class: SmartCore::Operation::Result::Error::Code
- Inherits:
-
Object
- Object
- SmartCore::Operation::Result::Error::Code
- Defined in:
- lib/smart_core/operation/result/error/code.rb
Overview
Constant Summary collapse
- EMPTY_CODE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
nil
Instance Attribute Summary collapse
- #code ⇒ String, ... (also: #identifier) readonly
Instance Method Summary collapse
- #initialize(code) ⇒ void constructor private
Constructor Details
#initialize(code) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 25 26 |
# File 'lib/smart_core/operation/result/error/code.rb', line 24 def initialize(code) @code = code end |
Instance Attribute Details
#code ⇒ String, ... (readonly) Also known as: identifier
16 17 18 |
# File 'lib/smart_core/operation/result/error/code.rb', line 16 def code @code end |