Class: Message
- Inherits:
-
Object
- Object
- Message
- Defined in:
- lib/cheetah_mail/message.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, params) ⇒ Message
constructor
A new instance of Message.
Constructor Details
#initialize(path, params) ⇒ Message
Returns a new instance of Message.
4 5 6 7 |
# File 'lib/cheetah_mail/message.rb', line 4 def initialize path, params @path = path @params = params end |
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params.
2 3 4 |
# File 'lib/cheetah_mail/message.rb', line 2 def params @params end |
#path ⇒ Object
Returns the value of attribute path.
2 3 4 |
# File 'lib/cheetah_mail/message.rb', line 2 def path @path end |