module DSN
Ruby parser for RFC 3463 Delivery Status Notification codes
Constants
- VERSION
Public Class Methods
message(*args)
click to toggle source
Return the most detailed Message
possible from a String code
# File lib/dsn.rb, line 28 def self.message(*args) Message.new(new(*args).subcode) end
new(*args)
click to toggle source
Parse a StatsCode from a String
# File lib/dsn.rb, line 23 def self.new(*args) StatusCode.new(Parser::String.new(*args)) end