Class: Context
- Inherits:
-
Object
- Object
- Context
- Defined in:
- lib/ruby_sdk/context.rb
Instance Method Summary collapse
- #get_key ⇒ Object
-
#initialize(user_key) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(user_key) ⇒ Context
Returns a new instance of Context.
2 3 4 |
# File 'lib/ruby_sdk/context.rb', line 2 def initialize(user_key) @user_key = user_key end |
Instance Method Details
#get_key ⇒ Object
6 7 8 |
# File 'lib/ruby_sdk/context.rb', line 6 def get_key() return @user_key end |