Class: SignalApi::CarrierOverrideMessage
- Inherits:
-
Object
- Object
- SignalApi::CarrierOverrideMessage
- Defined in:
- lib/signal_api/list.rb
Overview
Represents a message to be sent to users on a particular carrier
Instance Attribute Summary collapse
-
#carrier_id ⇒ Object
Returns the value of attribute carrier_id.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(carrier_id, text) ⇒ CarrierOverrideMessage
constructor
A new instance of CarrierOverrideMessage.
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_id ⇒ Object
Returns the value of attribute carrier_id.
11 12 13 |
# File 'lib/signal_api/list.rb', line 11 def carrier_id @carrier_id end |
#text ⇒ Object
Returns the value of attribute text.
11 12 13 |
# File 'lib/signal_api/list.rb', line 11 def text @text end |