Class: Postfixman::RecipientBcc
- Inherits:
-
Object
- Object
- Postfixman::RecipientBcc
- Defined in:
- lib/postfixman/recipient_bcc.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#from ⇒ Object
Returns the value of attribute from.
-
#id ⇒ Object
Returns the value of attribute id.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ RecipientBcc
constructor
A new instance of RecipientBcc.
Constructor Details
#initialize(attributes = {}) ⇒ RecipientBcc
Returns a new instance of RecipientBcc.
5 6 7 8 9 |
# File 'lib/postfixman/recipient_bcc.rb', line 5 def initialize(attributes={}) attributes.each do |k,v| self.send("#{k}=", v) if self.respond_to?(k) end end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/postfixman/recipient_bcc.rb', line 3 def enabled @enabled end |
#from ⇒ Object
Returns the value of attribute from.
3 4 5 |
# File 'lib/postfixman/recipient_bcc.rb', line 3 def from @from end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/postfixman/recipient_bcc.rb', line 3 def id @id end |
#to ⇒ Object
Returns the value of attribute to.
3 4 5 |
# File 'lib/postfixman/recipient_bcc.rb', line 3 def to @to end |