Method: Postmark::AccountApiClient#update_sender

Defined in:
lib/postmark/account_api_client.rb

#update_sender(id, attributes = {}) ⇒ Object Also known as: update_signature



38
39
40
41
42
# File 'lib/postmark/account_api_client.rb', line 38

def update_sender(id, attributes = {})
  data = serialize(HashHelper.to_postmark(attributes))

  format_response http_client.put("senders/#{id.to_i}", data)
end