Method: Postmark::AccountApiClient#create_server

Defined in:
lib/postmark/account_api_client.rb

#create_server(attributes = {}) ⇒ Object



129
130
131
132
# File 'lib/postmark/account_api_client.rb', line 129

def create_server(attributes = {})
  data = serialize(HashHelper.to_postmark(attributes))
  format_response http_client.post('servers', data)
end