Class: Redwood::Account

Inherits:
Person show all
Defined in:
lib/sup/account.rb

Instance Attribute Summary collapse

Attributes inherited from Person

#email, #name, #timestamp

Instance Method Summary collapse

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

Instance Attribute Details

#sendmailObject

Returns the value of attribute sendmail.



4
5
6
# File 'lib/sup/account.rb', line 4

def sendmail
  @sendmail
end

#signatureObject

Returns the value of attribute signature.



4
5
6
# File 'lib/sup/account.rb', line 4

def signature
  @signature
end