Class: Moogle::WebhookTarget
- Defined in:
- lib/moogle/models/webhook_target.rb
Instance Method Summary collapse
Methods inherited from Target
Instance Method Details
#validate_options ⇒ Object
10 11 12 13 14 15 |
# File 'lib/moogle/models/webhook_target.rb', line 10 def uri = Addressable::URI.parse ['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 |