Method: Postmark::AccountApiClient#create_domain

Defined in:
lib/postmark/account_api_client.rb

#create_domain(attributes = {}) ⇒ Object



81
82
83
84
85
# File 'lib/postmark/account_api_client.rb', line 81

def create_domain(attributes = {})
  data = serialize(HashHelper.to_postmark(attributes))

  format_response http_client.post('domains', data)
end