Class: Studio::EmailSmoke::Result
- Inherits:
-
Struct
- Object
- Struct
- Studio::EmailSmoke::Result
- Defined in:
- lib/studio/email_smoke.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#delivery_method ⇒ Object
Returns the value of attribute delivery_method.
-
#external_delivery ⇒ Object
Returns the value of attribute external_delivery.
-
#from ⇒ Object
Returns the value of attribute from.
-
#message_id ⇒ Object
Returns the value of attribute message_id.
-
#perform_deliveries ⇒ Object
Returns the value of attribute perform_deliveries.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#to ⇒ Object
Returns the value of attribute to.
-
#transport ⇒ Object
Returns the value of attribute transport.
Instance Method Summary collapse
Instance Attribute Details
#app_name ⇒ Object
Returns the value of attribute app_name
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def app_name @app_name end |
#delivery_method ⇒ Object
Returns the value of attribute delivery_method
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def delivery_method @delivery_method end |
#external_delivery ⇒ Object
Returns the value of attribute external_delivery
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def external_delivery @external_delivery end |
#from ⇒ Object
Returns the value of attribute from
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def from @from end |
#message_id ⇒ Object
Returns the value of attribute message_id
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def @message_id end |
#perform_deliveries ⇒ Object
Returns the value of attribute perform_deliveries
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def perform_deliveries @perform_deliveries end |
#subject ⇒ Object
Returns the value of attribute subject
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def subject @subject end |
#to ⇒ Object
Returns the value of attribute to
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def to @to end |
#transport ⇒ Object
Returns the value of attribute transport
9 10 11 |
# File 'lib/studio/email_smoke.rb', line 9 def transport @transport end |
Instance Method Details
#report_lines ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/studio/email_smoke.rb', line 21 def report_lines [ "Email smoke -> #{external_delivery ? 'sent' : 'not externally sent'}", " app=#{app_name}", " to=#{to}", " from=#{from}", " subject=#{subject}", " transport=#{transport}", " delivery_method=#{delivery_method}", " perform_deliveries=#{perform_deliveries}", " external_delivery=#{external_delivery}", " message_id=#{ || '(none)'}" ] end |