Module: FabricCA

Extended by:
Configuration
Defined in:
lib/fabric_ca.rb,
lib/fabric_ca/error.rb,
lib/fabric_ca/client.rb,
lib/fabric_ca/request.rb,
lib/fabric_ca/version.rb,
lib/fabric_ca/response.rb,
lib/fabric_ca/attribute.rb,
lib/fabric_ca/connection.rb,
lib/fabric_ca/configuration.rb,
lib/fabric_ca/faraday_middleware/basic_auth.rb,
lib/fabric_ca/faraday_middleware/token_auth.rb,
lib/fabric_ca/faraday_middleware/raise_http_exception.rb

Defined Under Namespace

Modules: Configuration, Connection, FaradayMiddleware, Request, Response Classes: Attribute, Client, Error

Constant Summary collapse

VERSION =
'0.2.0'.freeze

Constants included from Configuration

Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

assign, configure, extended, options, reset

Class Method Details

.client(options) ⇒ Object



19
20
21
# File 'lib/fabric_ca.rb', line 19

def self.client(options)
  FabricCA::Client.new(options)
end

.new(options = {}) ⇒ Object



13
14
15
16
17
# File 'lib/fabric_ca.rb', line 13

def self.new(options = {})
  assign(options)

  self
end