Class: IBM::Cloud::SDK::VPC::SecurityGroups

Inherits:
BaseCollection show all
Defined in:
lib/ibm/cloud/sdk/vpc/security_groups.rb

Overview

Work with VPC reqions

Instance Attribute Summary

Attributes inherited from BaseVPC

#connection, #endpoint, #logger

Instance Method Summary collapse

Methods inherited from BaseCollection

#all, #count, #create, #data, #fetch, #has_count?, #params

Methods inherited from BaseVPC

#adhoc, #delete, #get, #patch, #post, #put, #url

Constructor Details

#initialize(parent) ⇒ SecurityGroups

Returns a new instance of SecurityGroups.



10
11
12
# File 'lib/ibm/cloud/sdk/vpc/security_groups.rb', line 10

def initialize(parent)
  super(parent, 'security_groups', child_class: SecurityGroup)
end