Class: Dnsimple::Struct::Webhook

Inherits:
Base
  • Object
show all
Defined in:
lib/dnsimple/struct/webhook.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dnsimple::Struct::Base

Instance Attribute Details

#idInteger

Returns The contact ID in DNSimple.

Returns:

  • (Integer)

    The contact ID in DNSimple.



8
9
10
# File 'lib/dnsimple/struct/webhook.rb', line 8

def id
  @id
end

#urlString

Returns The callback URL.

Returns:

  • (String)

    The callback URL.



11
12
13
# File 'lib/dnsimple/struct/webhook.rb', line 11

def url
  @url
end