Module: Breinify
- Defined in:
- lib/Breinify.rb,
lib/Breinify/version.rb
Defined Under Namespace
Classes: BreinActivity, BreinConfig
Constant Summary collapse
- VERSION =
"0.1.5"
Class Method Summary collapse
-
.activity(options = {}) ⇒ Object
Description.
-
.set_config(options = {}) ⇒ Object
Description.
Class Method Details
.activity(options = {}) ⇒ Object
Description
Sends an activity to the engine utilizing the API. The call is done as a POST request. It is important that a valid API-key is configured prior to using this function.
312 313 314 |
# File 'lib/Breinify.rb', line 312 def self.activity( = {}) BreinActivity.instance.send_activity() end |
.set_config(options = {}) ⇒ Object
Description
sets the Breinify Configuration of the library for the properties supplied.
300 301 302 |
# File 'lib/Breinify.rb', line 300 def self.set_config( = {}) BreinConfig.instance.set_config() end |