Class: Controllers::SmsTab::SmsThread
- Inherits:
-
Data
- Object
- Data
- Controllers::SmsTab::SmsThread
- Defined in:
- app/concerns/controllers/sms_tab.rb
Overview
One conversation thread on a context SMS tab: the two numbers, the latest
message (for preview / reply-preset / who's-who), and per-thread counts.
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#latest ⇒ Object
readonly
Returns the value of attribute latest.
-
#number_a ⇒ Object
readonly
Returns the value of attribute number_a.
-
#number_b ⇒ Object
readonly
Returns the value of attribute number_b.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
-
#unread ⇒ Object
readonly
Returns the value of attribute unread.
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key
24 25 26 |
# File 'app/concerns/controllers/sms_tab.rb', line 24 def key @key end |
#latest ⇒ Object (readonly)
Returns the value of attribute latest
24 25 26 |
# File 'app/concerns/controllers/sms_tab.rb', line 24 def latest @latest end |
#number_a ⇒ Object (readonly)
Returns the value of attribute number_a
24 25 26 |
# File 'app/concerns/controllers/sms_tab.rb', line 24 def number_a @number_a end |
#number_b ⇒ Object (readonly)
Returns the value of attribute number_b
24 25 26 |
# File 'app/concerns/controllers/sms_tab.rb', line 24 def number_b @number_b end |
#total ⇒ Object (readonly)
Returns the value of attribute total
24 25 26 |
# File 'app/concerns/controllers/sms_tab.rb', line 24 def total @total end |
#unread ⇒ Object (readonly)
Returns the value of attribute unread
24 25 26 |
# File 'app/concerns/controllers/sms_tab.rb', line 24 def unread @unread end |