Module: CertificateAuthority::SigningEntity

Defined in:
lib/certificate_authority/signing_entity.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



4
5
6
7
8
# File 'lib/certificate_authority/signing_entity.rb', line 4

def self.included(mod)
  mod.class_eval do
    attr_accessor :signing_entity
  end
end

Instance Method Details

#signing_entity=(val) ⇒ Object



10
11
12
13
# File 'lib/certificate_authority/signing_entity.rb', line 10

def signing_entity=(val)
  raise "invalid param" unless [true,false].include?(val)
  @signing_entity = val
end