Module: Absmartly
- Defined in:
- lib/absmartly.rb,
lib/absmartly/md5.rb,
lib/absmartly/version.rb,
lib/absmartly/variant_assigner.rb
Defined Under Namespace
Classes: Error, Md5, VariantAssigner
Constant Summary collapse
- VERSION =
"1.1.0"
- @@init_config =
nil
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.application ⇒ Object
Returns the value of attribute application.
-
.endpoint ⇒ Object
Returns the value of attribute endpoint.
-
.environment ⇒ Object
Returns the value of attribute environment.
Class Method Summary collapse
- .configure_client {|_self| ... } ⇒ Object
- .create ⇒ Object
- .create_context(context_config) ⇒ Object
- .create_context_config ⇒ Object
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
19 20 21 |
# File 'lib/absmartly.rb', line 19 def api_key @api_key end |
.application ⇒ Object
Returns the value of attribute application.
19 20 21 |
# File 'lib/absmartly.rb', line 19 def application @application end |
.endpoint ⇒ Object
Returns the value of attribute endpoint.
19 20 21 |
# File 'lib/absmartly.rb', line 19 def endpoint @endpoint end |
.environment ⇒ Object
Returns the value of attribute environment.
19 20 21 |
# File 'lib/absmartly.rb', line 19 def environment @environment end |
Class Method Details
.configure_client {|_self| ... } ⇒ Object
21 22 23 |
# File 'lib/absmartly.rb', line 21 def configure_client yield self end |
.create ⇒ Object
25 26 27 |
# File 'lib/absmartly.rb', line 25 def create ABSmartly.create(sdk_config) end |
.create_context(context_config) ⇒ Object
33 34 35 |
# File 'lib/absmartly.rb', line 33 def create_context(context_config) sdk.create_context(context_config) end |
.create_context_config ⇒ Object
29 30 31 |
# File 'lib/absmartly.rb', line 29 def create_context_config ContextConfig.create end |