Class: Redwood::Account
Instance Attribute Summary collapse
-
#sendmail ⇒ Object
Returns the value of attribute sendmail.
-
#signature ⇒ Object
Returns the value of attribute signature.
Attributes inherited from Person
Instance Method Summary collapse
-
#initialize(email, h) ⇒ Account
constructor
A new instance of Account.
Methods inherited from Person
#better_than?, #eql?, from_address, #full_address, #generic?, #hash, #longname, #mediumname, #shortname, #sort_by_me, #to_s, #touch!
Constructor Details
#initialize(email, h) ⇒ Account
Returns a new instance of Account.
6 7 8 9 10 |
# File 'lib/sup/account.rb', line 6 def initialize email, h super h[:name], email, 0, true @sendmail = h[:sendmail] @signature = h[:signature] end |