Class: IBM::Cloud::SDK::VPC::SECURITYGROUP::Rules
- Inherits:
-
VPCCollection
- Object
- IBM::Cloud::SDKHTTP::BaseCollection
- VPCCollection
- IBM::Cloud::SDK::VPC::SECURITYGROUP::Rules
- Defined in:
- lib/ibm/cloud/sdk/vpc/security_groups.rb
Overview
Work with rules associated with parent group.
Instance Attribute Summary
Attributes included from IBM::Cloud::SDKHTTP::BaseHTTPMixin
Attributes inherited from IBM::Cloud::SDKHTTP::BaseCollection
#connection, #endpoint, #logger, #token
Instance Method Summary collapse
-
#initialize(parent) ⇒ Rules
constructor
A new instance of Rules.
Methods inherited from VPCCollection
Methods included from VpcHTTP
Methods included from IBM::Cloud::SDKHTTP::BaseHTTPMixin
#adhoc, #delete, #get, #metadata, #patch, #post, #put, #unchecked_response, #url
Methods inherited from IBM::Cloud::SDKHTTP::BaseCollection
#all, #create, #data, #fetch, #params, #reset_params
Constructor Details
#initialize(parent) ⇒ Rules
Returns a new instance of Rules.
36 37 38 |
# File 'lib/ibm/cloud/sdk/vpc/security_groups.rb', line 36 def initialize(parent) super(parent, 'rules', child_class: Rule) end |