Class: Fog::Compute::OracleCloud::Orchestrations

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/oraclecloud/models/compute/orchestrations.rb

Instance Method Summary collapse

Instance Method Details

#allObject



13
14
15
16
# File 'lib/fog/oraclecloud/models/compute/orchestrations.rb', line 13

def all
  data = service.list_orchestrations().body['result']
  load(data)
end

#get(name) ⇒ Object



8
9
10
11
# File 'lib/fog/oraclecloud/models/compute/orchestrations.rb', line 8

def get(name)
  data = service.get_orchestration(name).body
  new(data)
end