Class: Morpho::Configurations::Mailer
- Inherits:
-
Object
- Object
- Morpho::Configurations::Mailer
- Defined in:
- lib/morpho/configurations/mailer.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#authentication ⇒ Object
Returns the value of attribute authentication.
-
#delivery_method ⇒ Object
Returns the value of attribute delivery_method.
-
#enable_starttls_auto ⇒ Object
Returns the value of attribute enable_starttls_auto.
-
#from ⇒ Object
Returns the value of attribute from.
-
#password ⇒ Object
Returns the value of attribute password.
-
#perform_deliveries ⇒ Object
Returns the value of attribute perform_deliveries.
-
#port ⇒ Object
Returns the value of attribute port.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
-
#initialize ⇒ Mailer
constructor
A new instance of Mailer.
Constructor Details
#initialize ⇒ Mailer
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
#address ⇒ Object
Returns the value of attribute address.
5 6 7 |
# File 'lib/morpho/configurations/mailer.rb', line 5 def address @address end |
#authentication ⇒ Object
Returns the value of attribute authentication.
9 10 11 |
# File 'lib/morpho/configurations/mailer.rb', line 9 def authentication @authentication end |
#delivery_method ⇒ Object
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_auto ⇒ Object
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 |
#from ⇒ Object
Returns the value of attribute from.
4 5 6 |
# File 'lib/morpho/configurations/mailer.rb', line 4 def from @from end |
#password ⇒ Object
Returns the value of attribute password.
7 8 9 |
# File 'lib/morpho/configurations/mailer.rb', line 7 def password @password end |
#perform_deliveries ⇒ Object
Returns the value of attribute perform_deliveries.
11 12 13 |
# File 'lib/morpho/configurations/mailer.rb', line 11 def perform_deliveries @perform_deliveries end |
#port ⇒ Object
Returns the value of attribute port.
8 9 10 |
# File 'lib/morpho/configurations/mailer.rb', line 8 def port @port end |
#user_name ⇒ Object
Returns the value of attribute user_name.
6 7 8 |
# File 'lib/morpho/configurations/mailer.rb', line 6 def user_name @user_name end |