Class: Controllers::SmsTab::SmsThread

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#key ⇒ Object (readonly)

Returns the value of attribute key

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of 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

Returns:

  • (Object) —

    the current value of unread



24
25
26
# File 'app/concerns/controllers/sms_tab.rb', line 24

def unread
  @unread
end