Class: Sespool::Bounce::Mail

Inherits:
Struct
  • Object
show all
Defined in:
lib/sespool/bounce.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#destinationObject

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



56
57
58
# File 'lib/sespool/bounce.rb', line 56

def destination
  @destination
end

#message_idObject

Returns the value of attribute message_id

Returns:

  • (Object)

    the current value of message_id



56
57
58
# File 'lib/sespool/bounce.rb', line 56

def message_id
  @message_id
end

#raw_timestampObject

Returns the value of attribute raw_timestamp

Returns:

  • (Object)

    the current value of raw_timestamp



56
57
58
# File 'lib/sespool/bounce.rb', line 56

def raw_timestamp
  @raw_timestamp
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



56
57
58
# File 'lib/sespool/bounce.rb', line 56

def source
  @source
end

Instance Method Details

#timestampObject



57
58
59
# File 'lib/sespool/bounce.rb', line 57

def timestamp
  Time.parse(raw_timestamp)
end