Class: MailSmtp::Session::Envelope

Inherits:
Object
  • Object
show all
Defined in:
lib/mailsmtp/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEnvelope

Returns a new instance of Envelope.



14
15
16
# File 'lib/mailsmtp/session.rb', line 14

def initialize
  @to = []
end

Instance Attribute Details

#declared_sizeObject

Returns the value of attribute declared_size.



11
12
13
# File 'lib/mailsmtp/session.rb', line 11

def declared_size
  @declared_size
end

#encoding_bodyObject

Returns the value of attribute encoding_body.



11
12
13
# File 'lib/mailsmtp/session.rb', line 11

def encoding_body
  @encoding_body
end

#encoding_utf8Object

Returns the value of attribute encoding_utf8.



11
12
13
# File 'lib/mailsmtp/session.rb', line 11

def encoding_utf8
  @encoding_utf8
end

#fromObject

Returns the value of attribute from.



11
12
13
# File 'lib/mailsmtp/session.rb', line 11

def from
  @from
end

#toObject (readonly)

Returns the value of attribute to.



12
13
14
# File 'lib/mailsmtp/session.rb', line 12

def to
  @to
end