Class: KExt::Github::Models::Hook
- Inherits:
-
Object
- Object
- KExt::Github::Models::Hook
- Defined in:
- lib/k_ext/github/models/hook.rb
Overview
This model represents a GitHub hook
Instance Method Summary collapse
-
#initialize(attributes = nil) ⇒ Hook
constructor
A new instance of Hook.
Constructor Details
#initialize(attributes = nil) ⇒ Hook
Returns a new instance of Hook.
10 11 12 13 |
# File 'lib/k_ext/github/models/hook.rb', line 10 def initialize(attributes = nil) # Virtus will take your attributes and match them to the attribute definitions listed below super(attributes) end |