Sha256: a22659641f56067a1b49c080d006d32736abca6d0e33514d69b59771a3b31e20

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

require 'time'
require 'mail'
require 'kconv'
require "exception_notification/parser/version"
require "exception_notification/parser/struct"
require "exception_notification/parser/subject"

module ExceptionNotification
  module Parser
    class Error < StandardError; end

    def self.parse(body: nil, mail_raw: nil, subject: nil)
      Struct.new(body: body, mail_raw: mail_raw, subject: subject)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception_notification-parser-0.1.0 lib/exception_notification/parser.rb