Class: Serverspec::Type::MailAlias

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/mail_alias.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_s

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#aliased_to?(target) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/serverspec/type/mail_alias.rb', line 4

def aliased_to?(target)
  backend.check_mail_alias(@name, target)
end