Method: Postmark::AccountApiClient#create_sender

Defined in:
lib/postmark/account_api_client.rb

#create_sender(attributes = {}) ⇒ Object Also known as: create_signature



31
32
33
34
35
# File 'lib/postmark/account_api_client.rb', line 31

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

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