Module: Catalogcat::Client::EmailDomainSets

Defined in:
lib/catalogcat/client/email_domain_sets.rb

Instance Method Summary collapse

Instance Method Details

#get_email_domain_set(id, params = {}) ⇒ Object



12
13
14
# File 'lib/catalogcat/client/email_domain_sets.rb', line 12

def get_email_domain_set(id, params = {})
  get("/api/v1/email_domain_sets/#{id}", params)
end

#list_email_domain_sets(page = 1, params = {}) ⇒ Object



4
5
6
# File 'lib/catalogcat/client/email_domain_sets.rb', line 4

def list_email_domain_sets(page = 1, params = {})
  get("/api/v1/email_domain_sets?page=#{page}&per_page=100", params)
end

#update_email_domain_set(id, params = {}) ⇒ Object



8
9
10
# File 'lib/catalogcat/client/email_domain_sets.rb', line 8

def update_email_domain_set(id, params = {})
  put("/api/v1/email_domain_sets/#{id}", params)
end