Class: Hookdeck::Resources::CustomDomain
- Inherits:
-
Base
- Object
- Base
- Hookdeck::Resources::CustomDomain
show all
- Defined in:
- lib/hookdeck/resources/custom_domain.rb
Instance Attribute Summary
Attributes inherited from Base
#client
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#create(params = {}) ⇒ Object
8
9
10
|
# File 'lib/hookdeck/resources/custom_domain.rb', line 8
def create(params = {})
post('teams/current/custom_domains', params)
end
|
#delete(id) ⇒ Object
12
13
14
|
# File 'lib/hookdeck/resources/custom_domain.rb', line 12
def delete(id)
delete("teams/current/custom_domains/#{id}")
end
|
#list(params = {}) ⇒ Object
4
5
6
|
# File 'lib/hookdeck/resources/custom_domain.rb', line 4
def list(params = {})
get('teams/current/custom_domains', params)
end
|