class Mailosaur::Models::Server
Attributes
id[RW]
@return [String] Unique identifier for the server. Used as username for SMTP/POP3 authentication.
messages[RW]
@return [Integer] The number of messages currently in the server.
name[RW]
@return [String] A name used to identify the server.
users[RW]
@return Users (excluding administrators) who have access to the server.
Public Class Methods
new(data = {})
click to toggle source
# File lib/Mailosaur/models/server.rb, line 4 def initialize(data = {}) @id = data['id'] @name = data['name'] @users = data['users'] @messages = data['messages'] end