1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Adding the red herrings

This commit is contained in:
Jamie H 2013-09-26 15:54:43 +02:00
parent 19d3b40c0f
commit 54c0362c2e
2 changed files with 2 additions and 3 deletions

View file

@ -40,7 +40,6 @@ module Fog
attribute :type
# @!attribute [r] args
# @note An example might be:
# @example See below:
# - "cron": "23 * * * *"
# - "at": "2013-06-05T03:12Z"

View file

@ -45,8 +45,8 @@ module Fog
requires :name
options = {}
options['name'] = name unless name.nil?
options['metadata'] = metadata unless metadata.nil?
options['name'] = name if name
options['metadata'] = metadata if metadata
data = service.create_webhook(group_id, policy_id, options)
merge_attributes(data.body['webhooks'][0])