Class: Cadenya::Types::GetToolSetOpenAPISpecResponse
- Inherits:
-
Object
- Object
- Cadenya::Types::GetToolSetOpenAPISpecResponse
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#spec ⇒ Object
readonly
Returns the value of attribute spec.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(spec: nil) ⇒ GetToolSetOpenAPISpecResponse
constructor
A new instance of GetToolSetOpenAPISpecResponse.
- #to_h ⇒ Object
Constructor Details
#initialize(spec: nil) ⇒ GetToolSetOpenAPISpecResponse
Returns a new instance of GetToolSetOpenAPISpecResponse.
2269 2270 2271 |
# File 'lib/cadenya/types.rb', line 2269 def initialize(spec: nil) @spec = spec end |
Instance Attribute Details
#spec ⇒ Object (readonly)
Returns the value of attribute spec.
2267 2268 2269 |
# File 'lib/cadenya/types.rb', line 2267 def spec @spec end |
Class Method Details
.from_json(data) ⇒ Object
2273 2274 2275 2276 2277 |
# File 'lib/cadenya/types.rb', line 2273 def self.from_json(data) new( spec: data["spec"], ) end |