Class: Cadenya::Types::ObjectiveFinalized
- Inherits:
-
Object
- Object
- Cadenya::Types::ObjectiveFinalized
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(output: nil) ⇒ ObjectiveFinalized
constructor
A new instance of ObjectiveFinalized.
- #to_h ⇒ Object
Constructor Details
#initialize(output: nil) ⇒ ObjectiveFinalized
Returns a new instance of ObjectiveFinalized.
3922 3923 3924 |
# File 'lib/cadenya/types.rb', line 3922 def initialize(output: nil) @output = output end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
3920 3921 3922 |
# File 'lib/cadenya/types.rb', line 3920 def output @output end |
Class Method Details
.from_json(data) ⇒ Object
3926 3927 3928 3929 3930 |
# File 'lib/cadenya/types.rb', line 3926 def self.from_json(data) new( output: data["output"], ) end |