Class: Scalingo::Endpoint::Domain
- Inherits:
-
Resource
- Object
- OpenStruct
- Resource
- Scalingo::Endpoint::Domain
show all
- Defined in:
- lib/scalingo/endpoint/domains.rb
Instance Attribute Summary
Attributes included from Base
#api, #auth_api, #prefix
Instance Method Summary
collapse
Methods inherited from Resource
#initialize
included
#resources
Methods included from Base
#initialize
Instance Method Details
#destroy ⇒ Object
17
18
19
|
# File 'lib/scalingo/endpoint/domains.rb', line 17
def destroy
delete
end
|
#update(tlscert, tlskey) ⇒ Object
13
14
15
|
# File 'lib/scalingo/endpoint/domains.rb', line 13
def update(tlscert, tlskey)
path(nil, domain: { tlscert: tlscert, tlskey: tlskey })
end
|