Method: Postmark::AccountApiClient#update_server
- Defined in:
- lib/postmark/account_api_client.rb
#update_server(id, attributes = {}) ⇒ Object
134 135 136 137 |
# File 'lib/postmark/account_api_client.rb', line 134 def update_server(id, attributes = {}) data = serialize(HashHelper.to_postmark(attributes)) format_response http_client.put("servers/#{id.to_i}", data) end |