lib/mailinator_client/messages.rb
def delete_message(params = {})
      params = Utils.symbolize_hash_keys(params)
      query_params = { }
      headers = {}
      body = nil

      raise ArgumentError.new("domain is required") unless params.has_key?(:domain)
      raise ArgumentError.new("inbox is required") unless params.has_key?(:inbox)
      raise ArgumentError.new("message id is required") unless params.has_key?(:messageId)

      path = "/domains/#{params[:domain]}/inboxes/#{params[:inbox]}/messages/#{params[:messageId]}"

      @client.request(
        method: :delete,
        path: path,
        query: query_params,
        headers: headers,
        body: body)
    end
# Deletes a specific messages.
#
# Authentication:
# The client must be configured with a valid api
# access token to call this action.
#
# Parameters:
# *  {string} domainId - The Domain name or the Domain id
# *  {string} inbox - The Inbox name
# *  {string} messageId - The Message id
#
# Responses:
# *  Status and count of removed messages (https://manybrain.github.io/m8rdocs/#delete-a-message)
Deletes a specific messages.
Authentication:
The client must be configured with a valid api
access token to call this action.

{string} domainId - The Domain name or the Domain id
{string} inbox - The Inbox name
{string} messageId - The Message id

Status and count of removed messages
Deletes a specific messages . Authentication : The client must be configured with a valid api access token to call this action . { string } domainId - The Domain name or the Domain id { string } inbox - The Inbox name { string } messageId - The Message id Status and count of removed messages
def delete_message(params = {})
      params = Utils.symbolize_hash_keys(params)
      query_params = { }
      headers = {}
      body = nil
      raise ArgumentError.new("domain is required") unless params.has_key?(:domain)
      raise ArgumentError.new("inbox is required") unless params.has_key?(:inbox)
      raise ArgumentError.new("message id is required") unless params.has_key?(:messageId)
      path = "/domains/#{params[:domain]}/inboxes/#{params[:inbox]}/messages/#{params[:messageId]}"
      @client.request(
        method: :delete,
        path: path,
        query: query_params,
        headers: headers,
        body: body)
    end
def delete_message ( params = { } ) params = Utils . symbolize_hash_keys ( params ) query_params = { } headers = { } body = nil raise ArgumentError . new ( "domain is required" ) unless params . has_key? ( :domain ) raise ArgumentError . new ( "inbox is required" ) unless params . has_key? ( :inbox ) raise ArgumentError . new ( "message id is required" ) unless params . has_key? ( :messageId ) path = "/domains/#{params[:domain]}/inboxes/#{params[:inbox]}/messages/#{params[:messageId]}" @client . request ( method : :delete , path : path , query : query_params , headers : headers , body : body ) end
Deletes a specific messages.
Deletes a specific messages .
params