Class: HookBridge::Endpoint
- Defined in:
- lib/hookbridge/types.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ Endpoint
constructor
A new instance of Endpoint.
Methods inherited from BaseModel
#method_missing, #respond_to_missing?, #to_h
Constructor Details
#initialize(data) ⇒ Endpoint
Returns a new instance of Endpoint.
170 171 172 |
# File 'lib/hookbridge/types.rb', line 170 def initialize(data) super(data, time_fields: %w[created_at updated_at]) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HookBridge::BaseModel