class Moogle::WebhookTarget
Public Instance Methods
validate_options()
click to toggle source
# File lib/moogle/models/webhook_target.rb, line 10 def validate_options uri = Addressable::URI.parse options['webhook_uri'] return false, 'options webhook_uri not set' if uri.nil? return false, 'options webhook_uri must be absolute URI' if uri.relative? return true end