Class: Message

Inherits:
Object
  • Object
show all
Defined in:
lib/cheetah_mail/message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#paramsObject

Returns the value of attribute params.



2
3
4
# File 'lib/cheetah_mail/message.rb', line 2

def params
  @params
end

#pathObject

Returns the value of attribute path.



2
3
4
# File 'lib/cheetah_mail/message.rb', line 2

def path
  @path
end