Class: QueueIt::HttpContextProvider
- Inherits:
-
Object
- Object
- QueueIt::HttpContextProvider
- Defined in:
- lib/queueit_knownuserv3/httpcontext_provider.rb
Class Method Summary collapse
Class Method Details
.httpContext ⇒ Object
80 81 82 83 84 85 86 |
# File 'lib/queueit_knownuserv3/httpcontext_provider.rb', line 80 def self.httpContext if (defined?(@@httpContext)) return @@httpContext else raise "Please initialize the SDK using SDKInitializer.setHttpContext(httpContext) method" end end |
.setHttpContext(httpContext) ⇒ Object
88 89 90 |
# File 'lib/queueit_knownuserv3/httpcontext_provider.rb', line 88 def self.setHttpContext(httpContext) @@httpContext = httpContext end |