Class: Insika::SessionStore::Session
- Inherits:
-
Data
- Object
- Data
- Insika::SessionStore::Session
- Defined in:
- lib/insika/session_store.rb
Instance Attribute Summary collapse
-
#briefing ⇒ Object
readonly
Returns the value of attribute briefing.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#evidence ⇒ Object
readonly
Returns the value of attribute evidence.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#memory_refs ⇒ Object
readonly
Returns the value of attribute memory_refs.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#vars ⇒ Object
readonly
Returns the value of attribute vars.
Instance Method Summary collapse
-
#initialize(id:, messages:, vars:, memory_refs:, created_at:, updated_at:, briefing: nil, evidence: nil) ⇒ Session
constructor
Trailing members with defaults: an old record without the "briefing" / "evidence" keys reads as empty/nil without a migration.
Constructor Details
#initialize(id:, messages:, vars:, memory_refs:, created_at:, updated_at:, briefing: nil, evidence: nil) ⇒ Session
Trailing members with defaults: an old record without the "briefing" / "evidence" keys reads as empty/nil without a migration.
29 30 31 32 |
# File 'lib/insika/session_store.rb', line 29 def initialize(id:, messages:, vars:, memory_refs:, created_at:, updated_at:, briefing: nil, evidence: nil) super end |
Instance Attribute Details
#briefing ⇒ Object (readonly)
Returns the value of attribute briefing
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def briefing @briefing end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def created_at @created_at end |
#evidence ⇒ Object (readonly)
Returns the value of attribute evidence
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def evidence @evidence end |
#id ⇒ Object (readonly)
Returns the value of attribute id
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def id @id end |
#memory_refs ⇒ Object (readonly)
Returns the value of attribute memory_refs
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def memory_refs @memory_refs end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def @messages end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def updated_at @updated_at end |
#vars ⇒ Object (readonly)
Returns the value of attribute vars
25 26 27 |
# File 'lib/insika/session_store.rb', line 25 def vars @vars end |