Class: Cadenya::Types::ToolSetSecretSpec
- Inherits:
-
Object
- Object
- Cadenya::Types::ToolSetSecretSpec
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value: nil) ⇒ ToolSetSecretSpec
constructor
A new instance of ToolSetSecretSpec.
- #to_h ⇒ Object
Constructor Details
#initialize(value: nil) ⇒ ToolSetSecretSpec
Returns a new instance of ToolSetSecretSpec.
6323 6324 6325 |
# File 'lib/cadenya/types.rb', line 6323 def initialize(value: nil) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6321 6322 6323 |
# File 'lib/cadenya/types.rb', line 6321 def value @value end |
Class Method Details
.from_json(data) ⇒ Object
6327 6328 6329 6330 6331 |
# File 'lib/cadenya/types.rb', line 6327 def self.from_json(data) new( value: data["value"], ) end |