Class: LinearToonMcp::Resolvers::User
- Defined in:
- lib/linear_toon_mcp/resolvers/user.rb
Overview
Resolves a Linear user by email, name, or the literal “me”.
Constant Summary collapse
- VIEWER_QUERY =
"query { viewer { id } }"
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
attributes, call, call_many, connection, connection_name, entity_label, entity_name, filter_type, filter_type_name, #initialize, label, lookup_by, query, scoped_by
Constructor Details
This class inherits a constructor from LinearToonMcp::Resolvers::Base
Instance Method Details
#resolve(value) ⇒ Object
11 12 13 14 |
# File 'lib/linear_toon_mcp/resolvers/user.rb', line 11 def resolve(value) return resolve_viewer if value == "me" super end |