Module: BasicNotificationDecorator
- Defined in:
- lib/BasicNotificationDecorator.rb
Class Method Summary collapse
- .get_basic_notification_action ⇒ Object
- .get_basic_notification_base ⇒ Object
- .get_basic_notification_content ⇒ Object
- .get_basic_notification_receiver ⇒ Object
- .get_basic_notification_sender ⇒ Object
- .init_basic_decorator ⇒ Object
- .set_action(action) ⇒ Object
Class Method Details
.get_basic_notification_action ⇒ Object
16 17 18 19 |
# File 'lib/BasicNotificationDecorator.rb', line 16 def self.get_basic_notification_action init_basic_decorator return @basicNotification.get_action end |
.get_basic_notification_base ⇒ Object
36 37 38 39 |
# File 'lib/BasicNotificationDecorator.rb', line 36 def self.get_basic_notification_base init_basic_decorator return @basicNotification.get_notification_base end |
.get_basic_notification_content ⇒ Object
31 32 33 34 |
# File 'lib/BasicNotificationDecorator.rb', line 31 def self.get_basic_notification_content init_basic_decorator return @basicNotification.get_content end |
.get_basic_notification_receiver ⇒ Object
26 27 28 29 |
# File 'lib/BasicNotificationDecorator.rb', line 26 def self.get_basic_notification_receiver init_basic_decorator return @basicNotification.get_receiver end |
.get_basic_notification_sender ⇒ Object
21 22 23 24 |
# File 'lib/BasicNotificationDecorator.rb', line 21 def self.get_basic_notification_sender init_basic_decorator return @basicNotification.get_sender end |
.init_basic_decorator ⇒ Object
10 11 12 13 |
# File 'lib/BasicNotificationDecorator.rb', line 10 def self.init_basic_decorator set_action("Basic Notification") @basicNotification = BasicNotification.new(@action, "Sender", "Receiver", "Message" ) end |
.set_action(action) ⇒ Object
6 7 8 |
# File 'lib/BasicNotificationDecorator.rb', line 6 def self.set_action(action) @action = action end |