Class: HookBridge::UsageHistoryRow
- Defined in:
- lib/hookbridge/types.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ UsageHistoryRow
constructor
A new instance of UsageHistoryRow.
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