Class: Broadcast::Message
- Inherits:
-
Object
- Object
- Broadcast::Message
- Includes:
- Publishable
- Defined in:
- lib/broadcast/message.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Simple
Instance Attribute Summary collapse
-
#options ⇒ Object
Make the options Hashie::Mash a specific trait of Broadcast::Message.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Message
constructor
A new instance of Message.
Methods included from Publishable
#body, included, #publish, #subject
Constructor Details
#initialize(options = {}) ⇒ Message
8 9 10 |
# File 'lib/broadcast/message.rb', line 8 def initialize( = {}) = Hashie::Mash.new() end |
Instance Attribute Details
#options ⇒ Object
Make the options Hashie::Mash a specific trait of Broadcast::Message
6 7 8 |
# File 'lib/broadcast/message.rb', line 6 def end |