lib/securenative/client.rb in securenative-0.1.30 vs lib/securenative/client.rb in securenative-0.1.31
- old
+ new
@@ -40,9 +40,13 @@
SecureNative::Log.debug('This SDK was already initialized.')
raise SecureNativeSDKError, 'This SDK was already initialized.'
end
end
+ def from_http_request(request)
+ SecureNative::Context.from_http_request(request, @options)
+ end
+
def self.init
options = SecureNative::Config::ConfigurationManager.load_config
init_with_options(options)
end