Class: App42::Push::Channel
- Inherits:
-
Object
- Object
- App42::Push::Channel
- Defined in:
- lib/push/PushNotification.rb
Instance Attribute Summary collapse
-
#channelName ⇒ Object
Returns the value of attribute channelName.
-
#description ⇒ Object
Returns the value of attribute description.
Instance Method Summary collapse
-
#initialize(pushNotification) ⇒ Channel
constructor
This is a constructor that takes no parameter.
Constructor Details
#initialize(pushNotification) ⇒ Channel
This is a constructor that takes no parameter
33 34 35 |
# File 'lib/push/PushNotification.rb', line 33 def initialize(pushNotification) pushNotification.channelList.push(self) end |
Instance Attribute Details
#channelName ⇒ Object
Returns the value of attribute channelName.
26 27 28 |
# File 'lib/push/PushNotification.rb', line 26 def channelName @channelName end |
#description ⇒ Object
Returns the value of attribute description.
26 27 28 |
# File 'lib/push/PushNotification.rb', line 26 def description @description end |