Class: IBM::Cloud::SDK::VPC::Pools

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

Overview

A list of Pool

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

Returns a new instance of Pools.



12
13
14
15
16
# File 'lib/ibm/cloud/sdk/vpc/load_balancer/pools.rb', line 12

def initialize(parent)
  @array_key = 'pools'
  @instance = Pool
  super(parent, @array_key)
end