class Moogle::Requests::PushWebhookPing

A request to send a webhook post.

Public Instance Methods

data() click to toggle source

Set by Kind Specific Renderer

# File lib/moogle/requests/push_webhook_ping.rb, line 29
attribute :data, String
target_id() click to toggle source

House Keeping fields

# File lib/moogle/requests/push_webhook_ping.rb, line 22
attribute :target_id, Integer
valid_webhook_uri?() click to toggle source
# File lib/moogle/requests/push_webhook_ping.rb, line 40
def valid_webhook_uri?
  uri = Addressable::URI.parse webhook_uri
  return false, "webhook_uri not set" if uri.nil?
  return false, "webhook_uri must be an absolute URI" if uri.relative?
  return true
end
webhook_uri() click to toggle source

Set by Target’s Options

# File lib/moogle/requests/push_webhook_ping.rb, line 35
attribute :webhook_uri, String