Class: EmailVeracity::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/email_veracity/server.rb

Direct Known Subclasses

AddressServer, ExchangeServer

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = '') ⇒ Server

Returns a new instance of Server.



8
9
10
# File 'lib/email_veracity/server.rb', line 8

def initialize(name = '')
  @name = name
end

Instance Attribute Details

#nameObject (readonly) Also known as: to_s

Returns the value of attribute name.



5
6
7
# File 'lib/email_veracity/server.rb', line 5

def name
  @name
end