class Orchestrate::Application::Connect

Class for creating the connection between the application and the orchestrate.io api.

Public Class Methods

client() click to toggle source
# File rails/lib/orchestrate_application/connect.rb, line 15
def self.client
  @@client ||= connect
end
config(config_file) click to toggle source
# File rails/lib/orchestrate_application/connect.rb, line 11
def self.config(config_file)
  @@config_file = config_file
end

Private Class Methods

connect() click to toggle source
# File rails/lib/orchestrate_application/connect.rb, line 20
def self.connect
  Orchestrate::API::Wrapper.new @@config_file
end