Class: App42::Push::Channel

Inherits:
Object
  • Object
show all
Defined in:
lib/push/PushNotification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#channelNameObject

Returns the value of attribute channelName.



26
27
28
# File 'lib/push/PushNotification.rb', line 26

def channelName
  @channelName
end

#descriptionObject

Returns the value of attribute description.



26
27
28
# File 'lib/push/PushNotification.rb', line 26

def description
  @description
end