Class: Fog::Compute::OracleCloud::SecurityAssociations
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::OracleCloud::SecurityAssociations
- Defined in:
- lib/fog/oraclecloud/models/compute/security_associations.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
8 9 10 11 |
# File 'lib/fog/oraclecloud/models/compute/security_associations.rb', line 8 def all data = service.list_security_associations().body['result'] load(data) end |
#get(name) ⇒ Object
13 14 15 16 |
# File 'lib/fog/oraclecloud/models/compute/security_associations.rb', line 13 def get(name) data = service.get_security_association(name).body new(data) end |