Class: App42::Email::Configuration
- Inherits:
-
Object
- Object
- App42::Email::Configuration
- Defined in:
- lib/email/Email.rb
Instance Attribute Summary collapse
-
#emailId ⇒ Object
Returns the value of attribute emailId.
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
-
#ssl ⇒ Object
Returns the value of attribute ssl.
Instance Method Summary collapse
-
#initialize(email) ⇒ Configuration
constructor
This is a constructor that takes no parameter.
-
#to_s ⇒ Object
Returns the Cart Response in JSON format.
Constructor Details
#initialize(email) ⇒ Configuration
This is a constructor that takes no parameter
34 35 36 |
# File 'lib/email/Email.rb', line 34 def initialize(email) email.configList.push(self) end |
Instance Attribute Details
#emailId ⇒ Object
Returns the value of attribute emailId.
25 26 27 |
# File 'lib/email/Email.rb', line 25 def emailId @emailId end |
#host ⇒ Object
Returns the value of attribute host.
25 26 27 |
# File 'lib/email/Email.rb', line 25 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
25 26 27 |
# File 'lib/email/Email.rb', line 25 def port @port end |
#ssl ⇒ Object
Returns the value of attribute ssl.
25 26 27 |
# File 'lib/email/Email.rb', line 25 def ssl @ssl end |
Instance Method Details
#to_s ⇒ Object
Returns the Cart Response in JSON format.
45 46 47 |
# File 'lib/email/Email.rb', line 45 def to_s return "Email : #{@emailId}" + "Host : #{@host}" + "port : #{@port}" + "ssl : #{@ssl}"; end |