Class: Omen::Reading

Inherits:
Object
  • Object
show all
Includes:
Asked, Executed, Stated
Defined in:
app/models/omen/reading.rb

Overview

A thread of questions somebody asks Claude about the data this app holds.

Constant Summary

Constants included from Executed

Executed::REFUSED

Constants included from Stated

Stated::STALLED_AFTER, Stated::STATUSES

Instance Method Summary collapse

Methods included from Asked

#answering?, #ask

Instance Method Details

#to_sString

Returns the default representation (used in views).

Returns:

  • (String)

    the default representation (used in views).



17
# File 'app/models/omen/reading.rb', line 17

def to_s = questions.first&.text.to_s.truncate 80