Class: Omen::Question

Inherits:
Object
  • Object
show all
Includes:
Spoken
Defined in:
app/models/omen/question.rb

Overview

A question somebody typed. There is no asked? to check: a question is asked by definition.

Instance Method Summary collapse

Methods included from Spoken

#text

Instance Method Details

#roleString

Returns the side of the conversation this was said on, in the words the API uses.

Returns:

  • (String)

    the side of the conversation this was said on, in the words the API uses.



12
# File 'app/models/omen/question.rb', line 12

def role = 'user'