Class: Scalingo::Endpoint::Domain

Inherits:
Resource
  • Object
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

Methods included from Scalingo::Endpoint

included

Methods included from ClassMethods

#resources

Methods included from Base

#initialize

Constructor Details

This class inherits a constructor from Scalingo::Endpoint::Resource

Instance Method Details

#destroyObject



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