Sha256: b42a4d2b52aecdafc1ee4b25d5d75773abd9ff1f5f77e65971867045a6de5e0d
Contents?: true
Size: 564 Bytes
Versions: 19
Compression:
Stored size: 564 Bytes
Contents
require 'fog/core/collection' require 'fog/openstack/models/compute/security_group_rule' module Fog module Compute class OpenStack class SecurityGroupRules < Fog::Collection model Fog::Compute::OpenStack::SecurityGroupRule def get(security_group_rule_id) if security_group_rule_id body = service.get_security_group_rule(security_group_rule_id).body new(body['security_group_rule']) end rescue Fog::Compute::OpenStack::NotFound nil end end end end end
Version data entries
19 entries across 19 versions & 2 rubygems