module CertMunger

CertMunger accepts an input string and attempts to return a valid X509 formatted certificate.

Constants

VERSION

Public Class Methods

included(base) click to toggle source

Enables `include CertMunger` to also extend class methods

# File lib/cert_munger/formatter.rb, line 12
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

to_cert(raw_cert) click to toggle source

Instance variable accessor for CertMunger#to_cert

# File lib/cert_munger/formatter.rb, line 17
def to_cert(raw_cert)
  self.class.send(:to_cert, raw_cert)
end