Refactor long method CertfiicateAuthority#certificate_for
Merge pull request #8 from SmartReceipt/refactor

Refactor long method CertfiicateAuthority#certificate_for