Class: KExt::Github::Models::Hook

Inherits:
Object
  • Object
show all
Defined in:
lib/k_ext/github/models/hook.rb

Overview

This model represents a GitHub hook

Instance Method Summary collapse

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