Class: Krant::TranslatedBroadcastMessage Private
- Inherits:
-
Object
- Object
- Krant::TranslatedBroadcastMessage
- Defined in:
- app/models/krant/translated_broadcast_message.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: Query
Instance Attribute Summary collapse
- #text ⇒ Object readonly private
Class Method Summary collapse
- .active ⇒ Object private
Instance Method Summary collapse
-
#initialize(text) ⇒ TranslatedBroadcastMessage
constructor
private
A new instance of TranslatedBroadcastMessage.
Constructor Details
#initialize(text) ⇒ TranslatedBroadcastMessage
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of TranslatedBroadcastMessage.
6 7 8 |
# File 'app/models/krant/translated_broadcast_message.rb', line 6 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
4 5 6 |
# File 'app/models/krant/translated_broadcast_message.rb', line 4 def text @text end |