Class: HookBridge::UsageHistoryRow

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

Returns a new instance of UsageHistoryRow.



233
234
235
# File 'lib/hookbridge/types.rb', line 233

def initialize(data)
  super(data, date_fields: %w[period_start period_end])
end

Dynamic Method Handling

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