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:
parent
19d3b40c0f
commit
54c0362c2e
2 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue