Module: Savvy::Cert

Defined in:
lib/savvy/cert.rb,
lib/savvy/cert/client.rb,
lib/savvy/cert/config.rb,
lib/savvy/cert/signer.rb,
lib/savvy/cert/version.rb,
lib/savvy/cert/certificate.rb

Overview

The Savvy::Cert module

Defined Under Namespace

Classes: Certificate, Client, Config, Signer

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configSavvy::Cert::Config

Returns the Savvy::Cert gem configuration

Returns:


11
12
13
# File 'lib/savvy/cert/config.rb', line 11

def self.config
  @config ||= Config.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Configure the Savvy::Cert gem

Yields:

  • (config)

    gives the config to the block

Yield Parameters:


18
19
20
# File 'lib/savvy/cert/config.rb', line 18

def self.configure
  yield(config)
end