Sha256: eeb43181653054e73282dc98ca86f336935c1ed32c4f2122b822d3111a7683f1
Contents?: true
Size: 338 Bytes
Versions: 8
Compression:
Stored size: 338 Bytes
Contents
module Zhima class Config class << self attr_accessor :app_id, :private_key, :public_key def configure yield self end def mech_rsa @mech_rsa ||= OpenSSL::PKey::RSA.new private_key end def zm_rsa @zm_rsa ||= OpenSSL::PKey::RSA.new public_key end end end end
Version data entries
8 entries across 8 versions & 1 rubygems