Class: IBM::Cloud::SDK::VPC::VPCS::AddressPrefixes

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

Overview

A list of Vpc

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) ⇒ AddressPrefixes

Returns a new instance of AddressPrefixes.



37
38
39
# File 'lib/ibm/cloud/sdk/vpc/vpcs.rb', line 37

def initialize(parent)
  super(parent, 'address_prefixes', child_class: AddressPrefix)
end