Class: Fog::Compute::OracleCloud::SecurityRules
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::OracleCloud::SecurityRules
- Defined in:
- lib/fog/oraclecloud/models/compute/security_rules.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
10 11 12 13 |
# File 'lib/fog/oraclecloud/models/compute/security_rules.rb', line 10 def all data = service.list_security_rules().body['result'] load(data) end |
#get(name) ⇒ Object
15 16 17 18 |
# File 'lib/fog/oraclecloud/models/compute/security_rules.rb', line 15 def get(name) data = service.get_security_rule(name).body new(data) end |