class App42::Email::Configuration

Attributes

emailId[RW]
host[RW]
port[RW]
ssl[RW]

Public Class Methods

new(email) click to toggle source

This is a constructor that takes no parameter

# File lib/email/Email.rb, line 34
def initialize(email)
  email.configList.push(self)
end

Public Instance Methods

to_s() click to toggle source

Returns the Cart Response in JSON format.

@return the response in JSON format.

# File lib/email/Email.rb, line 45
def to_s
  return "Email : #{@emailId}" + "Host : #{@host}" + "port : #{@port}" + "ssl : #{@ssl}";
end