Class: IBM::Cloud::SDK::VPC::VPNGATEWAY::Connections

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

Overview

A list of Connection

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

Returns a new instance of Connections.



14
15
16
17
18
# File 'lib/ibm/cloud/sdk/vpc/vpn_gateway/connections.rb', line 14

def initialize(parent)
  @array_key = 'connections'
  @instance = Connection
  super(parent, @array_key)
end