Class: Legion::Extensions::Agentic::Affect::Motivation::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Affect::Motivation::Client
- Includes:
- Runners::Motivation, Helpers::Lex
- Defined in:
- lib/legion/extensions/agentic/affect/motivation/client.rb
Instance Attribute Summary collapse
-
#motivation_store ⇒ Object
readonly
Returns the value of attribute motivation_store.
Instance Method Summary collapse
-
#initialize(motivation_store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Motivation
#commit_to_goal, #drive_status, #most_motivated_goal, #motivation_for, #motivation_stats, #release_goal, #signal_drive, #update_motivation
Constructor Details
#initialize(motivation_store: nil) ⇒ Client
Returns a new instance of Client.
19 20 21 |
# File 'lib/legion/extensions/agentic/affect/motivation/client.rb', line 19 def initialize(motivation_store: nil, **) @motivation_store = motivation_store || Helpers::MotivationStore.new end |
Instance Attribute Details
#motivation_store ⇒ Object (readonly)
Returns the value of attribute motivation_store.
17 18 19 |
# File 'lib/legion/extensions/agentic/affect/motivation/client.rb', line 17 def motivation_store @motivation_store end |