Class: HookBridge::Message

Inherits:
BaseModel show all
Defined in:
lib/hookbridge/types.rb

Instance Method Summary collapse

Methods inherited from BaseModel

#method_missing, #respond_to_missing?, #to_h

Constructor Details

#initialize(data) ⇒ Message

Returns a new instance of Message.



77
78
79
# File 'lib/hookbridge/types.rb', line 77

def initialize(data)
  super(data, time_fields: %w[next_attempt_at created_at updated_at deleted_at])
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HookBridge::BaseModel