Class: HookBridge::APIKeyCreated
- Defined in:
- lib/hookbridge/types.rb
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(data) ⇒ APIKeyCreated
constructor
A new instance of APIKeyCreated.
- #name ⇒ Object
Methods inherited from BaseModel
#method_missing, #respond_to_missing?, #to_h
Constructor Details
#initialize(data) ⇒ APIKeyCreated
Returns a new instance of APIKeyCreated.
150 151 152 |
# File 'lib/hookbridge/types.rb', line 150 def initialize(data) super(data, time_fields: %w[created_at]) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HookBridge::BaseModel
Instance Method Details
#id ⇒ Object
154 155 156 |
# File 'lib/hookbridge/types.rb', line 154 def id key_id end |
#name ⇒ Object
158 159 160 |
# File 'lib/hookbridge/types.rb', line 158 def name label end |