Class: Kameleoon::Targeting::SdkInfo Private

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleoon/targeting/conditions/sdk_language_condition.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Helper class for containing sdk information

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(language, version) ⇒ SdkInfo

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of SdkInfo.



14
15
16
17
# File 'lib/kameleoon/targeting/conditions/sdk_language_condition.rb', line 14

def initialize(language, version)
  @language = language
  @version = version
end

Instance Attribute Details

#languageObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/kameleoon/targeting/conditions/sdk_language_condition.rb', line 12

def language
  @language
end

#versionObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/kameleoon/targeting/conditions/sdk_language_condition.rb', line 12

def version
  @version
end