Class: Rox::Server::ServerProperties

Inherits:
Core::DeviceProperties show all
Defined in:
lib/rox/server/client/server_properties.rb

Instance Attribute Summary collapse

Attributes inherited from Core::DeviceProperties

#rox_options

Instance Method Summary collapse

Methods inherited from Core::DeviceProperties

#all_properties, #get, #rollout_environment, #rollout_key

Constructor Details

#initialize(sdk_settings, rox_options) ⇒ ServerProperties

Returns a new instance of ServerProperties.



10
11
12
13
# File 'lib/rox/server/client/server_properties.rb', line 10

def initialize(sdk_settings, rox_options)
  super(sdk_settings, rox_options)
  @distinct_id = SecureRandom.uuid
end

Instance Attribute Details

#distinct_idObject

Returns the value of attribute distinct_id.



8
9
10
# File 'lib/rox/server/client/server_properties.rb', line 8

def distinct_id
  @distinct_id
end

Instance Method Details

#lib_versionObject



15
16
17
# File 'lib/rox/server/client/server_properties.rb', line 15

def lib_version
  Rox::VERSION
end