Class: Informed::Informant::StartingMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/informed.rb

Overview

Message logged when an informed upon method begins to be executed.

Instance Attribute Summary

Attributes inherited from Message

#also_log, #informee, #keyword_arguments, #method

Instance Method Summary collapse

Methods inherited from Message

#initialize

Constructor Details

This class inherits a constructor from Informed::Informant::Message

Instance Method Details

#to_hHash

Returns a Hash with ‘status: :starting` merged with Message#to_h.

Returns:

  • (Hash)

    a Hash with ‘status: :starting` merged with Message#to_h



212
213
214
# File 'lib/informed.rb', line 212

def to_h
  super.merge(status: :starting)
end