Class: Typecast::Models::SmartPrompt
- Inherits:
-
Object
- Object
- Typecast::Models::SmartPrompt
- Defined in:
- lib/typecast/models.rb
Instance Attribute Summary collapse
-
#next_text ⇒ Object
readonly
Returns the value of attribute next_text.
-
#previous_text ⇒ Object
readonly
Returns the value of attribute previous_text.
Instance Method Summary collapse
-
#initialize(previous_text: nil, next_text: nil) ⇒ SmartPrompt
constructor
A new instance of SmartPrompt.
- #to_h ⇒ Object
Constructor Details
#initialize(previous_text: nil, next_text: nil) ⇒ SmartPrompt
Returns a new instance of SmartPrompt.
80 81 82 83 |
# File 'lib/typecast/models.rb', line 80 def initialize(previous_text: nil, next_text: nil) @previous_text = previous_text @next_text = next_text end |
Instance Attribute Details
#next_text ⇒ Object (readonly)
Returns the value of attribute next_text.
78 79 80 |
# File 'lib/typecast/models.rb', line 78 def next_text @next_text end |
#previous_text ⇒ Object (readonly)
Returns the value of attribute previous_text.
78 79 80 |
# File 'lib/typecast/models.rb', line 78 def previous_text @previous_text end |