Class: Cadenya::Types::ParameterAction_Set
- Inherits:
-
Object
- Object
- Cadenya::Types::ParameterAction_Set
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#value_template ⇒ Object
readonly
Returns the value of attribute value_template.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path: nil, value_template: nil) ⇒ ParameterAction_Set
constructor
A new instance of ParameterAction_Set.
- #to_h ⇒ Object
Constructor Details
#initialize(path: nil, value_template: nil) ⇒ ParameterAction_Set
Returns a new instance of ParameterAction_Set.
4562 4563 4564 4565 |
# File 'lib/cadenya/types.rb', line 4562 def initialize(path: nil, value_template: nil) @path = path @value_template = value_template end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
4560 4561 4562 |
# File 'lib/cadenya/types.rb', line 4560 def path @path end |
#value_template ⇒ Object (readonly)
Returns the value of attribute value_template.
4560 4561 4562 |
# File 'lib/cadenya/types.rb', line 4560 def value_template @value_template end |
Class Method Details
.from_json(data) ⇒ Object
4567 4568 4569 4570 4571 4572 |
# File 'lib/cadenya/types.rb', line 4567 def self.from_json(data) new( path: data["path"], value_template: data["valueTemplate"], ) end |