diff options
Diffstat (limited to 'app/models/system_hook.rb')
| -rw-r--r-- | app/models/system_hook.rb | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/app/models/system_hook.rb b/app/models/system_hook.rb index f56b80f4678..3bc9089fdc8 100644 --- a/app/models/system_hook.rb +++ b/app/models/system_hook.rb @@ -1,3 +1,15 @@ +# == Schema Information +# +# Table name: web_hooks +# +# id :integer not null, primary key +# url :string(255) +# project_id :integer +# created_at :datetime not null +# updated_at :datetime not null +# type :string(255) default("ProjectHook") +# + class SystemHook < WebHook def self.all_hooks_fire(data) SystemHook.all.each do |sh| @@ -9,16 +21,3 @@ class SystemHook < WebHook Resque.enqueue(SystemHookWorker, id, data) end end - -# == Schema Information -# -# Table name: web_hooks -# -# id :integer not null, primary key -# url :string(255) -# project_id :integer -# created_at :datetime not null -# updated_at :datetime not null -# type :string(255) default("ProjectHook") -# - |
