Class: MCP::Client::GetSkillResult
- Inherits:
-
Struct
- Object
- Struct
- MCP::Client::GetSkillResult
- Defined in:
- lib/mcp/client/skills.rb
Overview
The entry skills/get returned for exactly the requested URI. Frozen on construction.
Instance Attribute Summary collapse
-
#cache_scope ⇒ Object
Returns the value of attribute cache_scope.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#skill ⇒ Object
Returns the value of attribute skill.
-
#ttl_ms ⇒ Object
Returns the value of attribute ttl_ms.
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ GetSkillResult
constructor
A new instance of GetSkillResult.
Constructor Details
#initialize(**kwargs) ⇒ GetSkillResult
Returns a new instance of GetSkillResult.
19 20 21 22 |
# File 'lib/mcp/client/skills.rb', line 19 def initialize(**kwargs) super(**kwargs) freeze end |
Instance Attribute Details
#cache_scope ⇒ Object
Returns the value of attribute cache_scope
18 19 20 |
# File 'lib/mcp/client/skills.rb', line 18 def cache_scope @cache_scope end |
#meta ⇒ Object
Returns the value of attribute meta
18 19 20 |
# File 'lib/mcp/client/skills.rb', line 18 def @meta end |
#skill ⇒ Object
Returns the value of attribute skill
18 19 20 |
# File 'lib/mcp/client/skills.rb', line 18 def skill @skill end |
#ttl_ms ⇒ Object
Returns the value of attribute ttl_ms
18 19 20 |
# File 'lib/mcp/client/skills.rb', line 18 def ttl_ms @ttl_ms end |