Class: Cadenya::Types::WorkspaceSecretSpec
- Inherits:
-
Object
- Object
- Cadenya::Types::WorkspaceSecretSpec
- 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) ⇒ WorkspaceSecretSpec
constructor
A new instance of WorkspaceSecretSpec.
- #to_h ⇒ Object
Constructor Details
#initialize(value: nil) ⇒ WorkspaceSecretSpec
Returns a new instance of WorkspaceSecretSpec.
7636 7637 7638 |
# File 'lib/cadenya/types.rb', line 7636 def initialize(value: nil) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7634 7635 7636 |
# File 'lib/cadenya/types.rb', line 7634 def value @value end |
Class Method Details
.from_json(data) ⇒ Object
7640 7641 7642 7643 7644 |
# File 'lib/cadenya/types.rb', line 7640 def self.from_json(data) new( value: data["value"], ) end |