lib/nubank_sdk/auth.rb in nubank_sdk-0.7.4 vs lib/nubank_sdk/auth.rb in nubank_sdk-0.7.5
- old
+ new
@@ -24,9 +24,13 @@
@connection_adapter = connection_adapter
@p_key = OpenSSL::PKey::RSA.new 2048
@encrypted_code = ''
end
+ def def_encrypted_code=(value)
+ @encrypted_code = value
+ end
+
#
# Return the instance of user certificate
#
# @return [NubankSdk::Certificate] the certificate instance
def certificate