Class: Cadenya::Types::Selector_ToolNames
- Inherits:
-
Object
- Object
- Cadenya::Types::Selector_ToolNames
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#names ⇒ Object
readonly
Returns the value of attribute names.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(names: nil) ⇒ Selector_ToolNames
constructor
A new instance of Selector_ToolNames.
- #to_h ⇒ Object
Constructor Details
#initialize(names: nil) ⇒ Selector_ToolNames
Returns a new instance of Selector_ToolNames.
5067 5068 5069 |
# File 'lib/cadenya/types.rb', line 5067 def initialize(names: nil) @names = names end |
Instance Attribute Details
#names ⇒ Object (readonly)
Returns the value of attribute names.
5065 5066 5067 |
# File 'lib/cadenya/types.rb', line 5065 def names @names end |
Class Method Details
.from_json(data) ⇒ Object
5071 5072 5073 5074 5075 |
# File 'lib/cadenya/types.rb', line 5071 def self.from_json(data) new( names: data["names"], ) end |