Class: IBM::Cloud::SDK::VPC::VPCS::Routes

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

Returns a new instance of Routes.



48
49
50
# File 'lib/ibm/cloud/sdk/vpc/vpcs.rb', line 48

def initialize(parent)
  super(parent, 'routes', child_class: Route)
end