Class: Drill::Params
- Inherits:
-
Struct
- Object
- Struct
- Drill::Params
- Defined in:
- lib/drill/params.rb
Instance Attribute Summary collapse
-
#cc ⇒ Object
Returns the value of attribute cc.
-
#from_email ⇒ Object
Returns the value of attribute from_email.
-
#from_name ⇒ Object
Returns the value of attribute from_name.
-
#reply_to ⇒ Object
Returns the value of attribute reply_to.
-
#template_name ⇒ Object
Returns the value of attribute template_name.
-
#to ⇒ Object
Returns the value of attribute to.
-
#vars ⇒ Object
Returns the value of attribute vars.
Instance Method Summary collapse
Instance Attribute Details
#cc ⇒ Object
Returns the value of attribute cc
4 5 6 |
# File 'lib/drill/params.rb', line 4 def cc @cc end |
#from_email ⇒ Object
Returns the value of attribute from_email
4 5 6 |
# File 'lib/drill/params.rb', line 4 def from_email @from_email end |
#from_name ⇒ Object
Returns the value of attribute from_name
4 5 6 |
# File 'lib/drill/params.rb', line 4 def from_name @from_name end |
#reply_to ⇒ Object
Returns the value of attribute reply_to
4 5 6 |
# File 'lib/drill/params.rb', line 4 def reply_to @reply_to end |
#template_name ⇒ Object
Returns the value of attribute template_name
4 5 6 |
# File 'lib/drill/params.rb', line 4 def template_name @template_name end |
#to ⇒ Object
Returns the value of attribute to
4 5 6 |
# File 'lib/drill/params.rb', line 4 def to @to end |
#vars ⇒ Object
Returns the value of attribute vars
4 5 6 |
# File 'lib/drill/params.rb', line 4 def vars @vars end |
Instance Method Details
#merge_vars(other_vars) ⇒ Object
8 9 10 |
# File 'lib/drill/params.rb', line 8 def merge_vars(other_vars) self.vars = Hash(vars).merge(other_vars) end |