Class: HookBridge::ExportRecord

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) ⇒ ExportRecord

Returns a new instance of ExportRecord.



509
510
511
512
513
514
515
516
517
518
# File 'lib/hookbridge/types.rb', line 509

def initialize(data)
  super(data, time_fields: %w[
    filter_start_time
    filter_end_time
    started_at
    completed_at
    expires_at
    created_at
  ])
end

Dynamic Method Handling

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