Method: Postmark::AccountApiClient#push_templates

Defined in:
lib/postmark/account_api_client.rb

#push_templates(attributes = {}) ⇒ Object



143
144
145
146
147
# File 'lib/postmark/account_api_client.rb', line 143

def push_templates(attributes = {})
  data = serialize(HashHelper.to_postmark(attributes))
  _, batch = format_batch_response(http_client.put('templates/push', data), "Templates")
  batch
end