Class: A2A::Server::App
- Inherits:
-
Roda
- Object
- Roda
- A2A::Server::App
- Defined in:
- lib/simple_a2a/server/app.rb
Constant Summary collapse
- SUPPORTED_VERSIONS =
%w[1.0 0.3].freeze
Class Attribute Summary collapse
-
.agent_card ⇒ Object
readonly
Returns the value of attribute agent_card.
-
.event_router ⇒ Object
readonly
Returns the value of attribute event_router.
-
.executor ⇒ Object
readonly
Returns the value of attribute executor.
-
.push_sender ⇒ Object
readonly
Returns the value of attribute push_sender.
-
.storage ⇒ Object
readonly
Returns the value of attribute storage.
Class Method Summary collapse
Class Attribute Details
.agent_card ⇒ Object (readonly)
Returns the value of attribute agent_card.
25 26 27 |
# File 'lib/simple_a2a/server/app.rb', line 25 def agent_card @agent_card end |
.event_router ⇒ Object (readonly)
Returns the value of attribute event_router.
25 26 27 |
# File 'lib/simple_a2a/server/app.rb', line 25 def event_router @event_router end |
.executor ⇒ Object (readonly)
Returns the value of attribute executor.
25 26 27 |
# File 'lib/simple_a2a/server/app.rb', line 25 def executor @executor end |
.push_sender ⇒ Object (readonly)
Returns the value of attribute push_sender.
25 26 27 |
# File 'lib/simple_a2a/server/app.rb', line 25 def push_sender @push_sender end |
.storage ⇒ Object (readonly)
Returns the value of attribute storage.
25 26 27 |
# File 'lib/simple_a2a/server/app.rb', line 25 def storage @storage end |
Class Method Details
.configure(agent_card:, storage:, executor:, event_router:, push_sender: nil) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/simple_a2a/server/app.rb', line 16 def self.configure(agent_card:, storage:, executor:, event_router:, push_sender: nil) @agent_card = agent_card @storage = storage @executor = executor @event_router = event_router @push_sender = push_sender end |