Class: MCP::Client::GetSkillResult

Inherits:
Struct
  • Object
show all
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

Instance Method Summary collapse

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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of meta



18
19
20
# File 'lib/mcp/client/skills.rb', line 18

def meta
  @meta
end

#skill ⇒ Object

Returns the value of attribute skill

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of ttl_ms



18
19
20
# File 'lib/mcp/client/skills.rb', line 18

def ttl_ms
  @ttl_ms
end