Class: IBM::Cloud::SDK::VPC::Regions

Inherits:
BaseCollection show all
Defined in:
lib/ibm/cloud/sdk/vpc/regions.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) ⇒ Regions

Returns a new instance of Regions.



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

def initialize(parent)
  super(parent, 'regions', child_class: Region)
end