Method: EmailAuthentication::Base#set_address
- Defined in:
- lib/email-authentication/base.rb
#set_address(address, from = "") ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/email-authentication/base.rb', line 18 def set_address(address,from="") raise "address nil" if address==nil raise "address blank" if address=="" raise "from address blank" if from=="" self.address=address.to_s self.from=from @flag=true end |