Class: Orchestrate::Application::Connect
- Inherits:
-
Object
- Object
- Orchestrate::Application::Connect
- Defined in:
- lib/orchestrate_application/connect.rb
Overview
Class for creating the connection between the application and the orchestrate.io api.
Constant Summary collapse
- @@config_file =
default config file: “<app-root-dir>/orch_config.json”
"orch_config.json"
Class Method Summary collapse
Class Method Details
.client ⇒ Object
15 16 17 |
# File 'lib/orchestrate_application/connect.rb', line 15 def self.client @@client ||= connect end |
.config(config_file) ⇒ Object
11 12 13 |
# File 'lib/orchestrate_application/connect.rb', line 11 def self.config(config_file) @@config_file = config_file end |