Class: IBM::Cloud::SDK::VPC::Vpcs

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?, #instance, #params

Methods inherited from BaseVPC

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

Constructor Details

#initialize(parent) ⇒ Vpcs

Returns a new instance of Vpcs.



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

def initialize(parent)
  super(parent, 'vpcs', child_class: VpcInstance)
end