Class: HookBridge::InboundMessage

Inherits:
BaseModel
  • Object
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) ⇒ InboundMessage

Returns a new instance of InboundMessage.



503
504
505
# File 'lib/hookbridge/types.rb', line 503

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

Dynamic Method Handling

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