Annotated. schema updated

This commit is contained in:
Dmitriy Zaporozhets 2012-11-19 21:24:05 +03:00
parent c3b074acab
commit 95c23b2f97
34 changed files with 365 additions and 359 deletions

View file

@ -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")
#