Class: Morpho::Configurations::Mailer

Inherits:
Object
  • Object
show all
Defined in:
lib/morpho/configurations/mailer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMailer

Returns a new instance of Mailer.



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/morpho/configurations/mailer.rb', line 14

def initialize
  self.perform_deliveries = false
  self.delivery_method = :test
  self.from = ''
  self.address = ''
  self.user_name = ''
  self.password = ''
  self.port = ''
  self.authentication = ''
  self.enable_starttls_auto = ''
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



5
6
7
# File 'lib/morpho/configurations/mailer.rb', line 5

def address
  @address
end

#authenticationObject

Returns the value of attribute authentication.



9
10
11
# File 'lib/morpho/configurations/mailer.rb', line 9

def authentication
  @authentication
end

#delivery_methodObject

Returns the value of attribute delivery_method.



12
13
14
# File 'lib/morpho/configurations/mailer.rb', line 12

def delivery_method
  @delivery_method
end

#enable_starttls_autoObject

Returns the value of attribute enable_starttls_auto.



10
11
12
# File 'lib/morpho/configurations/mailer.rb', line 10

def enable_starttls_auto
  @enable_starttls_auto
end

#fromObject

Returns the value of attribute from.



4
5
6
# File 'lib/morpho/configurations/mailer.rb', line 4

def from
  @from
end

#passwordObject

Returns the value of attribute password.



7
8
9
# File 'lib/morpho/configurations/mailer.rb', line 7

def password
  @password
end

#perform_deliveriesObject

Returns the value of attribute perform_deliveries.



11
12
13
# File 'lib/morpho/configurations/mailer.rb', line 11

def perform_deliveries
  @perform_deliveries
end

#portObject

Returns the value of attribute port.



8
9
10
# File 'lib/morpho/configurations/mailer.rb', line 8

def port
  @port
end

#user_nameObject

Returns the value of attribute user_name.



6
7
8
# File 'lib/morpho/configurations/mailer.rb', line 6

def user_name
  @user_name
end