Class: Courrier::Test::Delivery

Inherits:
Data
  • Object
show all
Defined in:
lib/courrier/test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bccObject (readonly)

Returns the value of attribute bcc

Returns:

  • (Object)

    the current value of bcc



5
6
7
# File 'lib/courrier/test.rb', line 5

def bcc
  @bcc
end

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



5
6
7
# File 'lib/courrier/test.rb', line 5

def body
  @body
end

#ccObject (readonly)

Returns the value of attribute cc

Returns:

  • (Object)

    the current value of cc



5
6
7
# File 'lib/courrier/test.rb', line 5

def cc
  @cc
end

#email_classObject (readonly)

Returns the value of attribute email_class

Returns:

  • (Object)

    the current value of email_class



5
6
7
# File 'lib/courrier/test.rb', line 5

def email_class
  @email_class
end

#fromObject (readonly)

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



5
6
7
# File 'lib/courrier/test.rb', line 5

def from
  @from
end

#headersObject (readonly)

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



5
6
7
# File 'lib/courrier/test.rb', line 5

def headers
  @headers
end

#providerObject (readonly)

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



5
6
7
# File 'lib/courrier/test.rb', line 5

def provider
  @provider
end

#reply_toObject (readonly)

Returns the value of attribute reply_to

Returns:

  • (Object)

    the current value of reply_to



5
6
7
# File 'lib/courrier/test.rb', line 5

def reply_to
  @reply_to
end

#resultObject (readonly)

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



5
6
7
# File 'lib/courrier/test.rb', line 5

def result
  @result
end

#subjectObject (readonly)

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



5
6
7
# File 'lib/courrier/test.rb', line 5

def subject
  @subject
end

#timestampObject (readonly)

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



5
6
7
# File 'lib/courrier/test.rb', line 5

def timestamp
  @timestamp
end

#toObject (readonly)

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



5
6
7
# File 'lib/courrier/test.rb', line 5

def to
  @to
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/courrier/test.rb', line 6

def success?
  result.success?
end