Module: Absmartly
- Defined in:
- lib/absmartly.rb,
lib/absmartly/version.rb
Defined Under Namespace
Classes: Error
Constant Summary collapse
- VERSION =
"1.2.3"
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.application ⇒ Object
Returns the value of attribute application.
-
.connect_timeout ⇒ Object
Returns the value of attribute connect_timeout.
-
.connection_request_timeout ⇒ Object
Returns the value of attribute connection_request_timeout.
-
.endpoint ⇒ Object
Returns the value of attribute endpoint.
-
.environment ⇒ Object
Returns the value of attribute environment.
-
.event_logger ⇒ Object
Returns the value of attribute event_logger.
-
.max_retries ⇒ Object
Returns the value of attribute max_retries.
-
.retry_interval ⇒ Object
Returns the value of attribute retry_interval.
Class Method Summary collapse
- .configure_client {|_self| ... } ⇒ Object
- .context_data ⇒ Object
- .create ⇒ Object
- .create_context(context_config) ⇒ Object
- .create_context_config ⇒ Object
- .create_context_with(context_config, data) ⇒ Object
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def api_key @api_key end |
.application ⇒ Object
Returns the value of attribute application.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def application @application end |
.connect_timeout ⇒ Object
Returns the value of attribute connect_timeout.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def connect_timeout @connect_timeout end |
.connection_request_timeout ⇒ Object
Returns the value of attribute connection_request_timeout.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def connection_request_timeout @connection_request_timeout end |
.endpoint ⇒ Object
Returns the value of attribute endpoint.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def endpoint @endpoint end |
.environment ⇒ Object
Returns the value of attribute environment.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def environment @environment end |
.event_logger ⇒ Object
Returns the value of attribute event_logger.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def event_logger @event_logger end |
.max_retries ⇒ Object
Returns the value of attribute max_retries.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def max_retries @max_retries end |
.retry_interval ⇒ Object
Returns the value of attribute retry_interval.
15 16 17 |
# File 'lib/absmartly.rb', line 15 def retry_interval @retry_interval end |
Class Method Details
.configure_client {|_self| ... } ⇒ Object
19 20 21 |
# File 'lib/absmartly.rb', line 19 def configure_client yield self end |
.context_data ⇒ Object
39 40 41 |
# File 'lib/absmartly.rb', line 39 def context_data sdk.context_data end |
.create ⇒ Object
23 24 25 |
# File 'lib/absmartly.rb', line 23 def create ABSmartly.create(sdk_config) end |
.create_context(context_config) ⇒ Object
31 32 33 |
# File 'lib/absmartly.rb', line 31 def create_context(context_config) sdk.create_context(context_config) end |
.create_context_config ⇒ Object
27 28 29 |
# File 'lib/absmartly.rb', line 27 def create_context_config ContextConfig.create end |
.create_context_with(context_config, data) ⇒ Object
35 36 37 |
# File 'lib/absmartly.rb', line 35 def create_context_with(context_config, data) sdk.create_context_with(context_config, data) end |