Class: Postfixman::RecipientBcc

Inherits:
Object
  • Object
show all
Defined in:
lib/postfixman/recipient_bcc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#enabledObject

Returns the value of attribute enabled.



3
4
5
# File 'lib/postfixman/recipient_bcc.rb', line 3

def enabled
  @enabled
end

#fromObject

Returns the value of attribute from.



3
4
5
# File 'lib/postfixman/recipient_bcc.rb', line 3

def from
  @from
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/postfixman/recipient_bcc.rb', line 3

def id
  @id
end

#toObject

Returns the value of attribute to.



3
4
5
# File 'lib/postfixman/recipient_bcc.rb', line 3

def to
  @to
end