Class: SignalApi::CarrierOverrideMessage

Inherits:
Object
  • Object
show all
Defined in:
lib/signal_api/list.rb

Overview

Represents a message to be sent to users on a particular carrier

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(carrier_id, text) ⇒ CarrierOverrideMessage

Returns a new instance of CarrierOverrideMessage.



13
14
15
16
# File 'lib/signal_api/list.rb', line 13

def initialize(carrier_id, text)
  @carrier_id = carrier_id
  @text = text
end

Instance Attribute Details

#carrier_idObject

Returns the value of attribute carrier_id.



11
12
13
# File 'lib/signal_api/list.rb', line 11

def carrier_id
  @carrier_id
end

#textObject

Returns the value of attribute text.



11
12
13
# File 'lib/signal_api/list.rb', line 11

def text
  @text
end