2013-04-12 14:26:18 +01:00
|
|
|
module HooksHelper
|
2013-04-14 16:46:56 +01:00
|
|
|
|
|
|
|
def web_fields
|
|
|
|
{:url => :string}
|
|
|
|
end
|
|
|
|
|
|
|
|
def hipchat_fields
|
|
|
|
{
|
|
|
|
:auth_token => :string,
|
|
|
|
:room => :string,
|
|
|
|
:restrict_to_branch => :string,
|
|
|
|
:notify => :boolean
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2013-04-12 14:26:18 +01:00
|
|
|
end
|