Class Fog::Rackspace::AutoScale::Webhook
In: lib/fog/rackspace/models/auto_scale/webhook.rb
Parent: Fog::Model

Methods

create   destroy   execution_url   save   update  

Public Instance methods

Create webhook

  • requires attribute: :name

@return [Boolean] returns true if webhook is being created

@raise [Fog::Rackspace::AutoScale:::NotFound] - HTTP 404 @raise [Fog::Rackspace::AutoScale:::BadRequest] - HTTP 400 @raise [Fog::Rackspace::AutoScale:::InternalServerError] - HTTP 500 @raise [Fog::Rackspace::AutoScale:::ServiceError]

@see Webhooks#create @see

Retrieves the URL for anonymously executing the policy webhook @return [String] the URL

Saves the webhook Creates hook if it is new, otherwise it will update it @return [Boolean] true if policy has saved

[Validate]