lib/unleash/context.rb in unleash-6.0.6 vs lib/unleash/context.rb in unleash-6.0.7

- old
+ new

@@ -21,10 +21,10 @@ def to_s "<Context: user_id=#{@user_id},session_id=#{@session_id},remote_address=#{@remote_address},properties=#{@properties}" \ ",app_name=#{@app_name},environment=#{@environment},current_time=#{@current_time}>" end - def as_json + def as_json(*_options) { appName: to_safe_value(self.app_name), environment: to_safe_value(self.environment), userId: to_safe_value(self.user_id), sessionId: to_safe_value(self.session_id),