Module: Sygna

Defined in:
lib/sygna/crypt.rb,
lib/sygna.rb,
lib/sygna/config.rb,
lib/sygna/version.rb,
lib/sygna/signature.rb,
lib/sygna/private_info.rb

Overview

Defined Under Namespace

Modules: PrivateInfo, Signature Classes: Config, Crypt, Error

Constant Summary collapse

VERSION =
"0.1.8"

Class Method Summary collapse

Class Method Details

.configure {|config = Sygna::Config.instance| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/sygna.rb', line 15

def configure
  yield config = Sygna::Config.instance
end

.configured?Boolean

Returns:

  • (Boolean)


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

def configured?
  Sygna::Config.instance.valid?
end