Class: Kameleoon::Targeting::SdkInfo Private
- Inherits:
-
Object
- Object
- Kameleoon::Targeting::SdkInfo
- 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
- #language ⇒ Object readonly private
- #version ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(language, version) ⇒ SdkInfo
constructor
private
A new instance of SdkInfo.
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
#language ⇒ Object (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 |
#version ⇒ Object (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 |