class Orchestrator_api::Environments
Public Class Methods
new(https, api_url_base)
click to toggle source
# File lib/orchestrator_api/environments.rb, line 3 def initialize(https, api_url_base) @https = https @api_url_base = api_url_base end
Public Instance Methods
all()
click to toggle source
# File lib/orchestrator_api/environments.rb, line 8 def all @https.get("#{api_url_base}/environments") end
applications(id)
click to toggle source
# File lib/orchestrator_api/environments.rb, line 12 def applications(id) @https.get("#{api_url_base}/environments/#{id}/applications") end
instances(id)
click to toggle source
# File lib/orchestrator_api/environments.rb, line 16 def instances(id) @https.get("#{api_url_base}/environments/#{id}/instances") end