def post(resource_path, data, headers = {})
      response = @http_client[resource_path].post(data, headers)
      Response.new(response)
    rescue => err
      raise communication_error err
    end
def post(resource_path, data, headers = {})
      response = @http_client[resource_path].post(data, headers)
      Response.new(response)
    rescue => err
      raise communication_error err
    end
Generic Mailgun POST Handler

 @param [String] resource_path This is the API resource you wish to interact
 with. Be sure to include your domain, where necessary.
 @param [Hash] data This should be a standard Hash
 containing required parameters for the requested resource.
 @param [Hash] headers Additional headers to pass to the resource.
 @return [Mailgun::Response] A Mailgun::Response object.