Class: PostmanMta::Domain
- Inherits:
-
ApplicationModel
- Object
- ApplicationModel
- PostmanMta::Domain
- Defined in:
- app/models/postman_mta/domain.rb
Instance Method Summary collapse
Instance Method Details
#create(params = {}) ⇒ Object
7 8 9 |
# File 'app/models/postman_mta/domain.rb', line 7 def create(params = {}) post('/domains', body: params) end |
#dns_setup(uuid) ⇒ Object
11 12 13 |
# File 'app/models/postman_mta/domain.rb', line 11 def dns_setup(uuid) put("/domains/#{uuid}/dns_setup") end |
#index(params = {}) ⇒ Object
3 4 5 |
# File 'app/models/postman_mta/domain.rb', line 3 def index(params = {}) get('/domains', body: params) end |