Class: OnlyofficeGmailHelper::MailAccount
- Inherits:
-
Object
- Object
- OnlyofficeGmailHelper::MailAccount
- Defined in:
- lib/onlyoffice_gmail_helper/email_account/mail_account.rb
Overview
Class for storing mail account data
Instance Attribute Summary collapse
-
#password ⇒ String
User password.
-
#username ⇒ String
(also: #login)
User name.
Instance Method Summary collapse
-
#initialize(user, pass) ⇒ MailAccount
constructor
A new instance of MailAccount.
Constructor Details
#initialize(user, pass) ⇒ MailAccount
Returns a new instance of MailAccount.
12 13 14 15 |
# File 'lib/onlyoffice_gmail_helper/email_account/mail_account.rb', line 12 def initialize(user, pass) @username = user @password = pass end |
Instance Attribute Details
#password ⇒ String
Returns user password.
10 11 12 |
# File 'lib/onlyoffice_gmail_helper/email_account/mail_account.rb', line 10 def password @password end |
#username ⇒ String Also known as: login
Returns user name.
7 8 9 |
# File 'lib/onlyoffice_gmail_helper/email_account/mail_account.rb', line 7 def username @username end |